Skip to main content

Introduction

A standard button that can be clicked in order to trigger an event with support for text coloring and localization.

"Command Button"

Fields#

NameDescription
TargetControl displaying text
LocalizeLocalize button text
Color TextColorize tet
On ClickEvent fired on button click
On Pointer DownEvent fired on pointer down
On Pointer UpEvent fired on pointer up
On Got FocusEvent fired when button gets focus
On Lost FocusEvent fired when button loses focus

Properties#

NameDescription
fontColorsColors used on text component
hasPointerCheck if pointer is over control
pointerDownCheck if pointer is down on control
selectedCheck if control is currently selected
textGet/Set control text. If localize is selected text will automatically be localized.