Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Manipulating the Standard VFP 5.0a Toolbars
Message
De
24/07/1998 13:48:47
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00120960
Message ID:
00121113
Vues:
23
>>Hi John ---
>>
>>You can manipulate the VFP toolbars by using SHOW WINDOW and HIDE WINDOW commands with the name ion the titlebar of the toolbar in quotes, ie:
>>
>>SHOW WINDOW "standard"
>>SHOW WINDOW "form controls"
>>
>>etc.....
>
>Many thanks for your answer but:
>Problem is that only works if the toolbar(s) are hidden. It does not work from ether the command window or a prg if they do not already exist. Try removing them under view - toolbars. These commands then do not work. When my prg abbends with them hidden they are gone. I am guessing there are internal names or some internal functions I can call. I would also like a way to move them with a prg.
>

Tastrade has an example of how to handle this. In your application object, check and save the visible status of each toolbar (use WVISIBLE). Hide those that are visible. Then, when the application terminates just display those that were visible before.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform