If this property is True, the button's OnClick event handler executes when the user presses Escape.
object.Cancel
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISButton interface |
bool
Display some information about the specified button, including the value of the property 'Cancel'.
Dim aButton
Dim aControlInfo
Set aButton = Form.Controls_("btnDemo")
aControlInfo =_
"Caption: " & aButton.Caption & vbNewLine &_
"ShortName: " & aButton.ShortName & vbNewLine &_
"TypeName: " & aButton.TypeName & vbNewLine &_
"Cancel: " & aButton.Cancel
Profile.MsgBox(aControlInfo)
In Profile Client v8 on User Interface Cancel cannot be found.