Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto positioning of button bar
Message
De
11/01/2000 17:30:59
 
 
À
11/01/2000 16:52:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00316516
Message ID:
00316532
Vues:
13
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform