The button control is used to send commands to a connected device.

Commands are sent when an event, such as the user clicking the button, occurs. Commands are text strings and may include values from other controls such as text boxes or numeric controls.

The label displayed on the button is set using the Text property.

Design-time properties for the Button control
Property Sent when…
OnClickSend The button is clicked
OnDoubleClickSend The button is quickly clicked twice
OnMouseDownSend The mouse button is pressed
OnMouseUpSend The mouse button is released
Run-time properties for the Button control
Name Access Type Description
Name Read only string The name of the control
Text Read/write string The string displayed on the button

This control also supports all the common run-time properties.

Start typing and press Enter to search