property Dialog.OnClick as ClickActionEnum
Retrieves or sets a value that indicates what the action that control takes when the user clicks on the control.

TypeDescription
ClickActionEnum A ClickActionEnum expression that defines the action that control executes when the user clicks the control.

Use the OnClick property to define what control should do if the user clicks on the control.  If the OnClick property is exMoveContainer or exMoveControl, the Click or RClick event is not fired if the user clicked the control and it starts to move the window. The Click or RClick is fired in these cases only if the user doesn't move the window.