Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to close the STANDARD toolbar
Message
De
02/11/1999 18:55:11
 
 
À
02/11/1999 03:32:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00285317
Message ID:
00285847
Vues:
19
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform