Radiobutton object
Event | Description |
---|---|
Radiobutton.onShow() | Event fired when the Radiobutton is shown |
Radiobutton.onHide() | Event fired when the Radiobutton is hidden |
Radiobutton.onClick() | Event fired when the user clicks on the Radiobutton |
Radiobutton.onContext() | Event fired when the user right click on the Radiobutton |
Radiobutton.onHover() | Event fired when the user moves the mouse pointer over the Radiobutton |
Radiobutton.onLeave() | Event fired when the mouse cursor leaves the Radiobutton |
Radiobutton.onCreate() | Event fired when Radiobutton has just been created |
Radiobutton.onMouseDown() | Event fired when the user presses a mouse button over the Radiobutton |
Radiobutton.onMouseUp() | Event fired when the user releases a mouse button over the Radiobutton |
Radiobutton.onDrop() | Event fired when the Radiobutton received a drag and drop content |
Property | Description | Access | Type |
---|---|---|---|
Radiobutton.checked | Get/set whether the Radiobutton is checked or not | readwrite | boolean |
Radiobutton.text | Get/set the Radiobutton text content | readwrite | string |
Radiobutton.x | Get/set the Radiobutton's horizontal position | readwrite | number |
Radiobutton.y | Get/set the Radiobutton's vertical position | readwrite | number |
Radiobutton.width | Get/set the Radiobutton's width | readwrite | number |
Radiobutton.height | Get/set the Radiobutton's height | readwrite | number |
Radiobutton.cursor | Get/set the image of the mouse cursor as it hovers over the Radiobutton | readwrite | string |
Radiobutton.align | Align the Radiobutton relative to its parent | readwrite | boolean |
Radiobutton.enabled | Controls whether the Radiobutton responds to mouse and other events | readwrite | boolean |
Radiobutton.visible | Controls whether the Radiobutton appears on screen | readwrite | boolean |
Radiobutton.allowdrop() | Controls whether the Radiobutton is a drag and drop target | readwrite | boolean |
Radiobutton.parent | Get the Radiobutton's parent widget | readonly | Window | Groupbox TabItem | Panel |
Radiobutton.font | Get/set the Radiobutton font | readwrite | string |
Radiobutton.fontstyle | Get/set the Radiobutton font style | readwrite | table |
Radiobutton.fontsize | Get/set the Radiobutton font size | readwrite | number |
Radiobutton.tooltip | Get/set the Radiobutton tooltip text | readwrite | string |
Method | Description | Return value |
---|---|---|
Radiobutton.constructor() | Radiobutton object constructor | Radiobutton |
Radiobutton:center() | Centers the Radiobutton on the parent widget | - |
Radiobutton:autosize() | Autosizes the Radiobutton | - |
Radiobutton:show() | Shows the Radiobutton | - |
Radiobutton:hide() | Hides the Radiobutton | - |
Radiobutton:tofront() | Brings the widget in front | - |
Radiobutton:toback() | Puts the widget to the back | - |