Difference between revisions of "Checkbox"

From Lianjapedia
Jump to: navigation, search
m (Yvonne.milne moved page Visage Application Framework - Checkbox to Checkbox without leaving a redirect)
(Description)
 
(9 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.
 +
 +
====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====
  
This class supports the '''Common properties''' plus the following:
+
This class supports the [[:Category:Common_Properties|Common Properties]] plus the following:
  
{| class="wikitable"
+
{| class="wikitable" width="100%"
 
!width="20%"|Property
 
!width="20%"|Property
 
!Access (R/RW)
 
!Access (R/RW)
Line 9: Line 18:
 
!width="50%"|Description
 
!width="50%"|Description
 
|-
 
|-
|Caption
+
|valign="top"|Caption
|RW
+
|valign="top"|RW
|string
+
|valign="top"|Character
|Text displayed next to checkbox
+
|valign="top"|Text displayed in the object's caption
 
|-
 
|-
|Value
+
 
|RW
+
|valign="top"|Readonly
|boolean
+
|valign="top"|RW
|Checkbox's current value
+
|valign="top"|Boolean
 +
|valign="top"|If True, object cannot be modified
 
|-
 
|-
|Readonly
+
|valign="top"|Validation
|RW
+
|valign="top"|RW
|boolean
+
|valign="top"|Character
|Enable/disable the checkbox
+
|valign="top"|String containing boolean expression to validate data entry
 
|-
 
|-
|Validation
+
|valign="top"|ValidationErrorMessage
|RW
+
|valign="top"|RW
|string
+
|valign="top"|Character
|
+
|valign="top"|Message to be displayed if validation returns False
 
|-
 
|-
|Validationerrormessage
+
|valign="top"|Value
|RW
+
|valign="top"|RW
|string
+
|valign="top"|Numeric or Boolean
|
+
|valign="top"|Object's value
 
|-
 
|-
 
|}
 
|}
Line 38: Line 48:
 
====Methods====
 
====Methods====
  
This class supports the '''Common methods''' plus the following:
+
This class supports the [[:Category:Common_Methods|Common Methods]] plus the following:
  
{| class="wikitable"
+
{| class="wikitable" width="100%"
 
!width="20%"|Method
 
!width="20%"|Method
 
!Args
 
!Args
Line 49: Line 59:
 
====Events====
 
====Events====
  
This class supports the '''Common events''' plus the following:
+
This class supports the [[:Category:Common_Events|Common Events]] plus the following:
  
{| class="wikitable"
+
{| class="wikitable" width="100%"
 
!width="20%"|Event
 
!width="20%"|Event
 
!Args
 
!Args

Latest revision as of 11:03, 9 April 2018

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 Section in a Lianja Page.

Checkbox

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