Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coordinating menus with toolbars
Message
 
À
11/06/1999 16:27:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00229002
Message ID:
00229005
Vues:
35
>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).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform