Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar in top level form
Message
De
04/10/2010 13:18:45
 
 
À
04/10/2010 11:54:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01483830
Message ID:
01483863
Vues:
66
>I have an app that uses a top-level form (.ShowWindow = 2) and SCREEN OFF.
>
>Can I put a toolbar in the form?

Yep. I'm using this ability to have a status bar docked in the main form of an app. I add it in the form's Activate, like this:
IF ISNULL(This.oStatusBar)
	This.oStatusBar = NEWOBJECT("tbrStatusBar", "Controls")
	BINDEVENT(This, "Resize", This.oStatusBar, "ResizeStatus", 1)

	IF This.oStatusBar.DockPosition <> 3
		This.oStatusBar.Dock(3)
	ENDIF 

	This.oStatusBar.Show()
ENDIF
Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform