Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to show Navigation Toolbar?
Message
De
06/06/2006 15:48:52
Irv Adams
MSC Managed Care, Inc.
Floride, États-Unis
 
 
À
06/06/2006 05:28:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01127263
Message ID:
01127468
Vues:
14
This message has been marked as a message which has helped to the initial question of the thread.
>Do you mean Formset Class? I have tried to create my own Formset class (form+toolbar) and it's working,thanks a lot. Besides, is there any way to "stick" a toolbar in a form? The toolbar is always at the top of the form regardless the size of the form or the ShowWindow property.

Hi,

Similar to Boban's code, I have been able to add a toolbar to an existing scx-based Form with the following code in the Activate event:
WITH Thisform 
	IF TYPE("Thisform.oRSBToolbar.Name") <> "C"					&& if property non-existant, toolbar is not instantiated
		.Addproperty('oRSBToolBar',.NULL.)
		.oRSBtoolbar = CREATEOBJECT("Rsbtoolbar")
		.oRSBtoolbar.dock(0)
		.oRSBtoolbar.Show()
	ELSE
		.oRSBtoolbar.Refresh()
	ENDIF 
ENDWITH 
The toolbar appears at the top but you can move it anywhere (even off the form)

HTH,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform