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

Form's showindow was 2.

>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
>
It's working now. Thanks for the code.

jw
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform