Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get rid of toolbar in VFP 5.0 app exe?
Message
From
08/02/1999 16:12:01
Donald Krasnick
Stanton Systems and Consulting
Havertown, Pennsylvania, United States
 
 
To
05/02/1999 15:55:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00184512
Message ID:
00185265
Views:
18
Note that "Standard" is just one of the possible tool bars. We have used the following list as the total list that could possibly be around when the app starts:

"Color Palette"
"Database Designer"
"Form Controls"
"Form Designer"
"Layout"
"Print Preview"
"Query Designer"
"Report Controls"
"Report Designer"
"Standard"
"View Designer"

We have normally save the current state of each toolbar (WVISIBLE("Standard")) in the Init method of the appropriate class and then issue a HIDE WINDOW for those that are visible. In the Destroy, we do a SHOW WINDOW to get them back to the starting state.

While this may be overkill for a distributed executable, it makes it very nice when you're developing the code to have your chosen toolbars back when you're done running it.

Don
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform