Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AutoCenter = .T. but form doesn't center
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
AutoCenter = .T. but form doesn't center
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:
01445900
Views:
132
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
Next
Reply
Map
View

Click here to load this message in the networking platform