Hi all,
I read on the Dictionary about the screenRect function. I've only a little doubt on the Items contents on which I haven't found info:
Item 3 is referred to the height and Item 4 to the width of the screen, is it so?
and Item 1 and 2?
best
franco
Items of screenRect
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Items of screenRect
The screenRect takes four integers specifying the left, top, right and bottom of the rectangle (you got item 3 & 4 the wrong way round).... So, 0,0,640,480 would mean the screen is 640 pixels wide by 480 pixels in height...
Re: Items of screenRect
Hi.
Play around with a control on a card. Retrieve such properties as its loc, width and height, its left, right, topLeft and BottomRight. And all the others. If you have the dimensions of the card, as Dixie pointed out, you can see how all these properties can be derived from and combined with each other.
Now think about how the "screenMouseLoc" relates to all these other properties. This is based on absolute, not screen coordinates.
Craig Newman
Play around with a control on a card. Retrieve such properties as its loc, width and height, its left, right, topLeft and BottomRight. And all the others. If you have the dimensions of the card, as Dixie pointed out, you can see how all these properties can be derived from and combined with each other.
Now think about how the "screenMouseLoc" relates to all these other properties. This is based on absolute, not screen coordinates.
Craig Newman
Re: Items of screenRect
thanks all for your answers,
ok, following the Dixie's example, if my screen is 640 pixels wide and my stack have a width of 700 pixels, means that not all the stack will be visible. to show all the stack I must use the resizing of "fullscreenmode" property.
regards
franco
ok, following the Dixie's example, if my screen is 640 pixels wide and my stack have a width of 700 pixels, means that not all the stack will be visible. to show all the stack I must use the resizing of "fullscreenmode" property.
regards
franco