Skip to content

phmOnClick - cToolbarButton

Stores the method-handle of the event to send whenever the button is clicked

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer phmOnClick
Access Type Syntax
Read Access: Get phmOnClick to IntegerVariable
Write Access: Set phmOnClick to IntegerVariable/Value

Description

phmOnClick stores the method-handle of the event to send whenever the button is clicked. By default, this is msg_OnClick, which means that the OnClick message will be sent.

You can change this property to create a Shared Handler to redirect the event.

Default is msg_OnClick.