Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Manipulating the Standard VFP 5.0a Toolbars
Message
From
24/07/1998 13:48:47
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00120960
Message ID:
00121113
Views:
22
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform