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

* remove all Foxpro toolbars
oSysToolbar=NEWOBJECT('_systoolbars','_app.vcx')
IF TYPE('oSysToolbar')='O' AND NOT ISNULL(oSysToolbar)
oSysToolbar.HideSystemToolbars()
ENDIF

* restore foxpro toolbars
IF TYPE('oSysToolbar')='O' AND NOT ISNULL(oSysToolbar)
oSysToolbar.ShowSystemToolbars()
ENDIF

Look up "System Toolbar" in the help for details. _app.vcx should be under \vfp98\ffc.

hth!
Bridget K. Dawes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform