This class is the abstract base class for forms.
Constructor.
Argument | Type | Default | Description |
owner | AFXGuiObjectManager | Owner (a module or a toolset) of the form. |
Performs the necessary tasks when the form is activated.
Reimplemented from AFXGuiMode.
Requests a cancellation of the form. When the cancel operation completes, successfully or not, the target will be sent the given message. The message data pointer will be non-zero for successful cancellation and zero if the cancel operation was abandoned for some purpose.
Argument | Type | Default | Description |
tgt | FXObject | None | Completion message target. |
msg | Int | 0 | Completion message ID. |
Deactivates the form if the user pressed the OK button of the currently posted dialog box. This method is called after the commands are processed successfully.
Returns the next dialog box to be posted.
Argument | Type | Default | Description |
previousDialog | AFXDialog | Previous dialog box. |
Generates commands based on the current state, sends the commands, and deactivates the form if necessary. If the commands did not complete successfully, a dialog box will be posted with an error message.
Argument | Type | Default | Description |
writeToReplay | Bool | True | True if commands should be written to the replay file; False if not. |
writeToJournal | Bool | False | True if commands should be written to the journal file; False if not. |