General information
Category:
Forms & Form designer
Title:
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only