Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto Centering of Container on Form
Message
 
To
05/08/2015 23:42:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01622935
Message ID:
01624154
Views:
39
Thanks for the info !

>Add this to the form's Resize() event:
>
>
>Thisform.cntLocked.Left  = INT((Thisform.Width 	- Thisform.cntLocked.Width) / 2
>Thisform.cntLocked.Top  = INT((Thisform.Height   - Thisform.cntLocked.Height) / 2)
>
>
>In the form's Init() event make a call to the thisform.Resize() code above.
Tommy Tillman A+ NetWork+ MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform