Properties
The following properties are defined in the ImageButton class.
| Name | Access | Type | Initial Value | Description |
|---|---|---|---|---|
| BgColor | CRW | integer | $STD | Background color |
| Border | CR | boolean | $TRUE | Frame display Added since Ver.5.0.3 Not supported in Mobile, AI |
| ButtonMode | CRW | integer | $PUSH | Button operation mode |
| ButtonStyle | CRW | integer | $STD | Background color when inactive Specifiable values have been added from Ver.5.0.3. |
| DisabledBgColor | CRW | integer | $STD | Background color when inactive Added since Ver.5.0.3 Not supported in Mobile, AI |
| DisabledFgColor | CRW | integer | $STD | Text color when inactive |
| FgColor | CRW | integer | $STD | Text color |
| FocusRect | CRW | boolean | $TRUE | Whether to display a rectangular dotted line that indicates focus Added since Ver.5.0.3 Not supported in Mobile, AI |
| HorzPlacement | CRW | integer | $STD | Horizontal display position of images and characters |
| HoveredBgColor | CRW | integer | $STD | Background color when mouse cursor is over button Added since Ver.5.0.3 Not supported in Mobile, AI |
| HoveredFgColor | CRW | integer | $STD | Text color when mouse cursor is over button Added since Ver.5.0.3 Not supported in Mobile, AI |
| ImageHeight | CRW | integer | 32 | Height when enlarging / reducing the image |
| ImageWidth | CRW | integer | 32 | Width when enlarging / reducing the image |
| NoAutoPadding | CRW | boolean | $FALSE | Whether to automatically adjust the spacing between the image and the text Added since Ver.5.1.0 Not supported in Mobile, AI |
| NoPrefix | CRW | boolean | $FALSE | Mode without interpretation of & Added since Ver.5.0.0, Mobile Ver.4.5.0 Not supported in AI |
| PushedBgColor | CRW | integer | $STD | Background color when pressed Added since Ver.5.0.3 Not supported in Mobile, AI |
| PushedFgColor | CRW | integer | $STD | Text color when pressed Added since Ver.5.0.3 Not supported in Mobile, AI |
| PushingBgColor | CRW | integer | $STD | Background color while pressed in toggle mode Added since Ver.5.0.3 Not supported in Mobile, AI |
| PushingFgColor | CRW | integer | $STD | Text color while pressed in toggle mode Added since Ver.5.0.3 Not supported in Mobile, AI |
| Resize | CRW | integer | $STD | How to enlarge / reduce the image |
| Spacing | CRW | integer | 5 | Peripheral margin |
| TextAlign | CRW | integer | $STD | Display position within the text display area Added since Ver.5.0.3 Not supported in Mobile, AI |
| TextHOffset | CRW | integer | 0 | Adjusting the text display position horizontally Added since Ver.5.0.3 Not supported in Mobile, AI |
| TextVOffset | CRW | integer | 0 | Adjusting the text display position vertically Added since Ver.5.0.3 Not supported in Mobile, AI |
| Toggle | CRW | integer | 0 | Toggle button state |
| VerticalAlign | CR | integer | $STD | Vertical alignment |
| VertPlacement | CRW | integer | $STD | Vertical display position of image and text |
Access
R: Readable W: Writable C: Initializable