This repository was archived by the owner on Dec 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
changeButtonProperty()
Mammad900 edited this page Aug 30, 2020
·
1 revision
Changes a property of a button (Modifies a button)
- Page (
int) : The number of the page which contains the button - Index (
int) : The index of the button relative to the page - Property (
int) : The name of the property to change. - Value (
int,bool,String) : The new value for the property - Type (
int,bool,String) : A dummy value with the same type as previous parameter for compiler disambiguation
-
XPOS: X position. Acceptable types: int (Recommended), bool (true=1 false=0) -
YPOS: Y position. Acceptable types: int (Recommended), bool (true=1 false=0) -
HEIGHT: Height. Acceptable types: int (Recommended), bool (true=1 false=0) -
WIDTH: Width. Acceptable types: int (Recommended), bool (true=1 false=0) -
TEXT: Text. Acceptable types: String (Recommended), int (string representation), bool (true='True' false='False') -
TEXT_COLOR: Text color. Acceptable types: int (16-bit color), bool (true=white false=black) -
BACK_COLOR: Background color. Acceptable types: int (16-bit color), bool (true=white false=black) -
BORDER_COLOR: Border color. Acceptable types: int (16-bit color), bool (true=white false=black) -
ENABLED: Enabled. Acceptable types: bool (Recommended, false=disabled true=enabled), int (enabled if 1, else disabled) -
VISIBLE: Visible. Acceptable types: bool (Recommended, false=hidden true=visible), int (visible if 1, else hidden)
Nothing