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:
00229275
Vues:
21
>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.

One way to do this is to use the NAME clause when you launch the forset:

DO FORM formset.scx NAME Whatever && in main prg, Whatever is "global"

Then your menu call to Whatever.Browsbar1.cmdnext.click will work...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform