Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to access toolbar in form?
Message
De
18/01/1997 09:14:30
 
 
À
18/01/1997 08:50:21
Kevin Wang
Ministry of Water Resources
Beijing, Chine
Information générale
Forum:
Visual FoxPro
Catégorie:
Groupes d'usagers
Divers
Thread ID:
00017758
Message ID:
00017768
Vues:
70
>>then I write 'sqtool.refresh()' in form's refresh method,but it
>>>cause an error 'OBJECT sqtool is not founded'.
>>> Is there anything wrong? how to access the methods in my toolbar? an example is welcome!
>>
>>the toolbar is contained in the formset not the form - so your "path" to the toolbar is wrong
>>
>>Arnon
>
>
>Can you tell me how to solve this problem?
>Can you show me an examples?

if you are tring to reference the toolbar from the formset then it can be something like :
this.otEToolbar.cmd1.caption="hello"

or from a form in the formset
thisformset.otEToolbar.refresh()
or
_screen.otEFormset.otEToolBar.whatever

etc.

Arnon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform