Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to close the STANDARD toolbar
Message
De
02/11/1999 08:23:46
 
 
À
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:
00285376
Vues:
19
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform