Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VMP Toolbars
Message
 
 
To
14/07/2000 22:32:33
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Miscellaneous
Thread ID:
00392797
Message ID:
00392809
Views:
9
>I have a global toolbar instantiated via the setupcustom method of the application object, just as the documentation describes. My problem is that I have a dropdown combo box in the toolbar and I want to change the value from the current active form. But I do not know what the object reference would be. I can do this interactively by typing:
>oMytoolbars = newobject('tbrtmgen','libs\tmfwfrm')
>oMytoolbars.show
>
>oMytoolbars.cboLocation.value = 'abc'
>
>What do I use in place of "oMytoolbars" when running the application?
>TIA
>Robert

Robert,
A reference to any global toolbars can be found in the iatbrinstances array property of oToolbars. If you only instantiate one, then element 1 should have it.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform