[Overview][Constants][Types][Classes][Procedures and functions][Index] |
UI method for rendering and processing a check button
Source position: nvwidgets.pas line 302
public function UIContext.doCheckButton( |
const r: Rect; |
const Text: ; |
var state: Boolean; |
style: Integer = 0 |
):Boolean; |
r |
|
optionally provides a location and size for the button |
Text |
|
text to display on the button |
state |
|
whether the check button is checked or not |
style |
|
optional style flag to modify the look |
True if the check button state changed
Check button behaves similarly as a toggle button used to display and edit a boolean property.