Description
The event fired when dialog control buttons are clicked.
Syntax
Private Sub object_Click(Dialog, Page, Command, Cancel)
The Click Event syntax has these parts:
|
| object | A McCommandDialog object. | | Dialog | A McCommandDialog object. The dialog firing the event.
| | Page | A McCommandPage object. The active page if any.
| | Command | A mcCommandType enumeration, as described in settings. Identifies the button just clicked.
| | Cancel | A Boolean value. Set to True to stop broadcasting this event.
|
Settings The settings for Command are:
 | mccmdOK | 1 | |
 | mccmdCancel | 2 | |
 | mccmdApply | 4 | |
 | mccmdUndo | 8 | |
 | mccmdClose | 16 | |
 | mccmdHelp | 32 | |
 | mccmdNext | 64 | |
 | mccmdBack | 128 | |
 | mccmdFinish | 256 | |
 | mccmdToolshedLeft | 512 | |
 | mccmdToolshedRight | 1024 | |
Remarks
Buttons managed by McCommandDialog.Control call McCommandDialog.Click, which will fire this event.
|