Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto positioning of button bar
Message
From
11/01/2000 17:30:59
 
 
To
11/01/2000 16:52:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00316516
Message ID:
00316532
Views:
14
>I am creating a custom button bar that automatically positions itself when the executable is launched. I have it setup to position itself at the bottom of the main FoxPro window. The problem I have is how to get it to reposition itself automatically after the user changes the size of the FoxPro main window.

this is easiest if you use a Top-Level form instead of _SCREEN, so you can just put code in the form's resize event. If you have to use _SCREEN, you'll need to instanciate a timer that checks the size and windowstate of _SCREEN at a given interval, and moves the bar as needed, when the size has changed.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform