Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to close the STANDARD toolbar
Message
From
02/11/1999 08:23:46
 
 
To
02/11/1999 03:32:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00285317
Message ID:
00285376
Views:
20
>can i add a command line in my .prg to close the STANDARD toolbar ( or close all existing opened toolbar ).

This code will release all VFP toolbars.

LOCAL lnToolbar, laVFPToolbars[11,1]


laVFPToolbars[1,1] = "Form Designer"
laVFPToolbars[2,1] = "Standard"
laVFPToolbars[3,1] = "Layout"
laVFPToolbars[4,1] = "Query Designer"
laVFPToolbars[5,1] = "View Designer"
laVFPToolbars[6,1] = "Color Palette"
laVFPToolbars[7,1] = "Form Controls"
laVFPToolbars[8,1] = "Database Designer"
laVFPToolbars[9,1] = "Report Designer"
laVFPToolbars[10,1] = "Report Controls"
laVFPToolbars[11,1] = "Print Preview"

FOR EACH cToolBar IN laVFPToolbars
IF WVISIBLE(cToolBar)
HIDE WINDOW (cToolBar)
ENDIF
ENDFOR
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform