Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Centering a Form
Message
 
To
08/05/1998 01:47:34
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00097876
Message ID:
00097932
Views:
25
>>I saw a thread about putting some code in the init property to
>>center a form regardless of resolution setting. I can't find it
>>again. Could someone tell mew where to look or please send me
>>the correct syntax.
>>
>
>
>Is there anything wrong with setting the AutoCenter property of the form to .T.?
>
>John

Andy,
The thread in question was started by Ed Crawford, May 4, #96887.

John, the problem is that if you load the form on a computer with a different screen resolution the Autocenter stays with the original resolution of the development computer. The answer is to re-size your screen, change any form height/width values and last of all set autocenter=.t. in the INIT() code.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform