Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Coordinate toolbar activity with more forms
I'm going to rethinking my framework in this way:
- with a main.prg I create a top level form as the my app window;
- the app form create a toolbar with buttons for navigation, maint
record, edit, show a menu form and exit program;
- on work the app form can contain more forms;
the questions:
1) what's the code in click event (or in other events) of a toolbar
button to be shure if the function is compatible with current
form ? (for example, enable nav buttons only active form is
navigable, disable edit buttons if active form isn't editable...)
2) how establish reference between toolbar and froms shown in the
main top level form ?
Thanks.
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