Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar showing on Top-Level Form
Message
De
06/05/2003 16:11:59
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
06/05/2003 11:27:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00785403
Message ID:
00785576
Vues:
12
In INIT event or form designer, create the property oToolbar, with .null. value
ThisForm.AddProperty("oToolBar",.null.)
In ACTIVATE event of form put the following code:
IF  ISNULL(this.oToolbar)
	this.oToolbar=NewObject("{toolbar}","{classlib}")
	this.oToolBar.dock(0)
	this.oToolBar.Show
ENDIF
>Is there a way to put toolbars into Top-Level Forms?
>
>I have created toolbar class with ShowWindow = 1 (In Top-Level Form) but when I run my top-level form, ShowWindow property of Toolbar is still 0 and it shows in main VFP window.
>
>How can I put it in my main top-level form, independent of VFP main window?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform