The image button is a button that provides the ability to associate an image to the display.
The button has no internal logic so the user must associate the functions with the events of the object.
Property
Property
|
Description
|
Default value
|
Behaviour
|
|
|
Visibility
|
Indicates whether the object should be visible or hidden
|
ON
|
Disabled
|
Indicates whether the sensitive area should be sensitive to pressure or not.
|
|
UseMode
|
How to use the button
|
Read-Write
|
Touch mode
|
Button
|
|
Tag
|
|
|
Tag
|
Variable associated with the switch
|
|
ValueOn
|
Value that corresponds to the state pressed
|
1
|
ValueOff
|
Value that corresponds to the released status
|
0
|
Off state
|
|
|
Border colour
|
Border color of the button
|
|
Border size
|
Button border size
|
|
Filling colour
|
Fill color of the button area
|
|
Corner
|
It allows to define the rounding in percentage of the angles
|
|
Image
|
Path of the image associated with the button
|
|
Stretch mode
|
Type of stretch applied to the image
|
|
HorizontalAlign
|
How the image should be aligned horizontally
|
|
VerticalAlign
|
How the image should be aligned vertically
|
|
On state
|
|
|
Visible
|
Indicates whether the On state should be Visible
|
|
BorderColour
|
Border color of the button
|
|
Border size
|
Button border size
|
|
Filling colour
|
Button filling colour
|
|
Corner
|
It allows to define the rounding in percentage of the angles
|
|
Image
|
Path to the image associated with the button
|
|
Stretch Mode
|
Type of stretch applied to the image
|
|
HorizontalAlign
|
How the image should be aligned horizontally
|
|
VerticalAlign
|
How the image should be aligned vertically
|
|
Security
|
|
|
Level
|
Object protection level
|
0
|
Events
Each event can be associated with one or more predefined functions or script code.
On
|
Pressed
|
Off
|
Released
|
OnSwipeLeft
|
Left swipe event
|
OnSwipeRight
|
Right swipe event
|
SwipeUp
|
Up swipe event
|
SwipeDown
|
Down swipe event
|