Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to access toolbar in form?
Message
From
18/01/1997 09:14:30
 
 
To
18/01/1997 08:50:21
Kevin Wang
Ministry of Water Resources
Beijing, China
General information
Forum:
Visual FoxPro
Category:
User groups
Miscellaneous
Thread ID:
00017758
Message ID:
00017768
Views:
66
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform