Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coordinating menus with toolbars
Message
 
 
To
11/06/1999 16:27:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00229002
Message ID:
00229005
Views:
34
>I am trying to coordinate a menu with a formset containing a toolbar. The formset is named "Formset1" and the toolbar is "Browsbar1." I have tried puting "Formset1.Browsbar1.cmdnext.click" in the command option of Results in the Menu builder but it fails to find the Formset. I have also tried "_screen.activeform.Browsbar1.cmdnext.click." It does not work either. I think something is wrong with the syntax or hierarchy of my statement.

Just before this statement put SET STEP ON to bring up the debugger then you can check out your form object and find out what the really refreence or hierarchy is.

P.S. Instead to using the menu to click the command button why not make it actually fire the actual code that performs the work. Perhaps you have myform.movenext that you could fire (and that the toolbar button is calling).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform