Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AutoCenter = .T. but form doesn't center
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01445900
Message ID:
01445907
Views:
77
Do you have some code in the init() event that resizes the form?

>I create a form at runtime from one of my form classes using the Newobject() function.
>
>I add some controls to it, resize it, and set the form's AutoCenter property to .T.
>
>The ShowWindow property is set to 1 - In Top Level form
>
>I call oForm.Show(1)
>
>When the form appears it is on the left side of the screen about 1/3 of the way down from the top.
>
>Not centered.
>
>Any suggestions?
>
>Thanks,
>Jim
ICQ 10556 (ya), 254117
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform