Difference between revisions of "Checkbox"
From Lianjapedia
Helen.george (Talk | contribs) |
Barrymavin (Talk | contribs) (→Events) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages. | Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages. | ||
+ | |||
+ | ====Description==== | ||
+ | Shown below in a standalone [[Form]]. Click the image to see in a [[Custom_Sections_and_Gadgets|Custom Section]] in a Lianja [[Page Attributes|Page]]. | ||
+ | |||
+ | [[{{ns:file}}:checkbox.png|link={{filepath:checkbox_cs.png}}|Checkbox]] | ||
+ | |||
+ | The Checkbox control is used for logical/boolean values. It can be checked (True) or unchecked (False). | ||
====Properties==== | ====Properties==== | ||
Line 16: | Line 23: | ||
|valign="top"|Text displayed in the object's caption | |valign="top"|Text displayed in the object's caption | ||
|- | |- | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|valign="top"|Readonly | |valign="top"|Readonly | ||
|valign="top"|RW | |valign="top"|RW | ||
Line 35: | Line 38: | ||
|valign="top"|Character | |valign="top"|Character | ||
|valign="top"|Message to be displayed if validation returns False | |valign="top"|Message to be displayed if validation returns False | ||
+ | |- | ||
+ | |valign="top"|Value | ||
+ | |valign="top"|RW | ||
+ | |valign="top"|Numeric or Boolean | ||
+ | |valign="top"|Object's value | ||
|- | |- | ||
|} | |} | ||
Line 57: | Line 65: | ||
!Args | !Args | ||
!width="50%"|Description | !width="50%"|Description | ||
− | + | |- | |
+ | |InteractiveChange||None||Occurs when the checkbox is clicked | ||
|} | |} | ||
+ | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Framework Classes]] | [[Category:Framework Classes]] |
Latest revision as of 23:52, 9 May 2024
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
Contents
Description
Shown below in a standalone Form. Click the image to see in a Custom Section in a Lianja Page.
The Checkbox control is used for logical/boolean values. It can be checked (True) or unchecked (False).
Properties
This class supports the Common Properties plus the following:
Property | Access (R/RW) | Value | Description |
---|---|---|---|
Caption | RW | Character | Text displayed in the object's caption |
Readonly | RW | Boolean | If True, object cannot be modified |
Validation | RW | Character | String containing boolean expression to validate data entry |
ValidationErrorMessage | RW | Character | Message to be displayed if validation returns False |
Value | RW | Numeric or Boolean | Object's value |
Methods
This class supports the Common Methods plus the following:
Method | Args | Description |
---|
Events
This class supports the Common Events plus the following:
Event | Args | Description |
---|---|---|
InteractiveChange | None | Occurs when the checkbox is clicked |