General information
Category:
Forms & Form designer
I didn't worry about the top and left because I centered it with autocenter. My problem was that the form was too big to fit on the screen.
Thanks,
-Michelle
>I don't think I ever saw anyone post the requested formulae for sizing the form relative to the resolution.
>
>If your topform (or _SCREEN) is maximized, it's:
>this.top = (topform.height-this.height)/2
>this.left = (topform.width-this.width)/2
>
>If not maximized, you need to use SYSMETRIC calls instead of topform or _SCREEN properties.
>
>Sorry if someone else posted the formulae and I missed it.
>
>>>Jan. 1999, FoxPro Advisor has an article about resizing forms. The author registers only those controls that he wishes to resize.
>>
>>Unfortunately, our subscription ran out Dec 98 and my boss can't decide if she's going to renew or not. After working on it a while, the best thing I came up with is to squish the forms down to 640/480, so that's what I did. They're not as pretty, but they work.
>
>HTH,
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only