Information générale
Catégorie:
Codage, syntaxe et commandes
>Evan
>
>Thanks for the response. I had it set that way in the beginning but thought it might be better to coordinate. I did the debugger and hierarchy is "formset1.browsbar1.cmdnext.click" but that still does not work when added to the menu.
The reference from the menu should be
_screen.activeform.parent.browsbar1.cmdnext.click
You have to go down the tree, back up for a second then down again (whew!)
Strongly consider abandoning formsets for forms. If some data must always be together pageframes work really well. Also, if your form has a "movenext" property, anything can easily reference this.
From a menu: _screen.activeform.movenext
From a button on the form: _screen.activeform.movenext
From a toolbar: _screen.activeform.movenext
Makes life really easy. The form can then have the "skip" code or it can pass on the responsibility to something else (like a data object).
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement