Description

Emulates a user click on one of the buttons contained in Control.

Return Type

A Boolean value.  

Syntax

object.Click (Command)

The Click Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McCommandDialog.
CommandRequired. A mcCommandType enumeration, as described in settings.

Settings

The settings for Command are:

ConstantValueDescription
 mccmdOK1
 mccmdCancel2
 mccmdApply4
 mccmdUndo8
 mccmdClose16
 mccmdHelp32
 mccmdNext64
 mccmdBack128
 mccmdFinish256
 mccmdToolshedLeft512
 mccmdToolshedRight1024

Remarks

Internally this function broadcasts a Click event to the event sinks of the dialog. The same thing happens when the user presses one of these buttons.