Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar funny behavior
Message
De
20/03/1998 15:41:44
 
 
À
20/03/1998 15:33:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00086081
Message ID:
00086107
Vues:
22
>>>
>>>***Formset.Init event
>>>this.tbMain.dock(0)
>>Thanks Ed,
>>
>>the toolbar object is initialized on the main program ...not in a form set.
>>will work some like ...
>>x=createobject("oMyToolbar")
>>x.dock(0)
>>X.show()
>>?
>>this code in the main program because I want the toolbar appear as the the very first application's object without the need to create a form or a formset...
>
>
>Also ensure that the Visible property defaults to False in the class...the way I usually do the call is:
>
>oMainToolBar=CREATEOBJECT('oMyToolbar')
>oMainToolBar.Dock(0)
>oMainToolBar.Visible=.T.
>
>I haven't found a Show method call necessary.
That wouldn't be the same?

...Thank to both of you.

W.Toledo
An Intelligent fool can make things bigger and more complex... It takes a touch of a genius -and a lot of courage- to move in the opposite direction".
-Albert Einstein
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform