Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Centering a form with AutoCenter
Message
 
To
30/10/1998 03:39:54
Marco Beuk
Innovero Software Solutions
The Hague, Netherlands
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00152629
Message ID:
00152883
Views:
22
>If i set a form's AutoCenter property to .T. it doesn't center.
>For some reason VFP 5.0 thinks my main form is 1024x768, but it is 800 x 600.
>
>What is the deal with the property AutoCenter of a form?
>
>Marco Beuk
>
>BTW: I don't think this was the case in VFP 3.0, is it a bug?

Because of some internal VFP calculations it is not enough if you set form.AutoCenter = .t. in the development environment. You have to reissue this.AutoCenter = .t. in Form.Init()

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform