Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Workaround to dock toolbars to a top-level form # vfp ma
Message
De
13/02/2003 01:27:51
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
10/02/2003 07:15:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00751335
Message ID:
00752592
Vues:
21
Toolbars can be docked to forms too, but ShowWindow property must be set to 2
Add a custom property to the form, ToolbarRef with .null. value
Here is some sample code to dock toolbar to form (in Activate event of form) :
IF  ISNULL(this.toolbarref)
	this.ToolbarRef=CREATEOBJECT('MyToolbar')
	this.ToolbarRef.Dock(0)
	this.ToolbarRef.visible = .t.
ENDIF
HTH

>I have not found a workaround for what is stated in the manual: that a toolbar can only be docked to the main VFP Window.
>
>Is there one ?
>
>thanks for any hint
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform