Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar not showing
Message
De
24/04/2003 02:08:40
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
23/04/2003 15:49:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00780537
Message ID:
00781003
Vues:
15
You need also ShowWindow property of your form to be 2 (As Top Level Form)

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("testvcx2","myclass\test\testvcx2.vcx")
	this.oToolBar.dock(0)
	this.oToolBar.Show
ENDIF
>Hi,
>
>>I'm guessing you are wanting this displaying in the MyForm. The ToolBar needs to have the ShowWindow = 1 && In Top Level Form.
>
>ShowWindow already was 1 to begin with.
>
>
>>Also you can, in the Show method of the form, do
>>Show Window (_Screen.oToolBar.Name) In Window (This.Name)
>>
>
>That still doesn't fix it.
>
>Anyways, thanks for the reply.
>
>jw
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform