 |
|
|
|
| Any application, created with the help of MBBilder, may contain dialog resources modules, represented by the pair of files.
|
| By default these files are named <dialog_file_name>.mb and <dialog_file_name_H>.mb
|
| In the file <dialog_file_name>.mb the dialog displaying procedure is implemented. It is named Your_Dialog_Name_Execute. If you call it in the application, as e.g. in Step 17 of the Quick Start Tutorial, that will be enough for displaying the dialog. This file is generated at every change of Dialog Editor contents.
|
| Attention! Do not edit this file on your own.
|
| The file <dialog_file_name>.mb contains dialog (control items) components handlers and empty dialog events handling procedures:
|
| · | Your_Dialog_Name_OnShow - this procedure is executed before dialog displaying. Within this procedure, you can execute the installation of initial component properties or global variables values, necessary for dialog work.
|
| · | Your_Dialog_Name_OnOkModalResult - this procedure is executed in case of closing the dialog by clicking OKButton.
|
| · | Your_Dialog_Name_OnCancelModalResult - this procedure is executed, if the dialog has been closed by clicking CancelButton.
|
| When creating a new component in Dialog Editor, the handler empty procedure is inserted automatically into the module Dialog_File _Name_H in File Editor (if the component supports _OnClick event handling), and at the deletion of the component the handler is also deleted.
|
|
|