Difference between revisions of "Optionbutton"

From Lianjapedia
Jump to: navigation, search
(Description)
 
(11 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}}:optionbutton_optiongroup.png|link={{filepath:optionbutton_optiongroup_cs.png}}|Optionbutton, Optiongroup]]
 +
 +
An [[Optiongroup]] is a labelled containers for Optionbutton controls.  Optionbuttons in the group act like radio buttons with a single button on (True) and all other buttons in the group off (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)
 
!Value
 
!Value
 
!width="50%"|Description
 
!width="50%"|Description
 +
|-
 +
|valign="top"|Backstyle
 +
|valign="top"|RW
 +
|valign="top"|Numeric
 +
|valign="top"|Background style: 0 = transparent, 1 = opaque
 
|-
 
|-
 
|Caption
 
|Caption
 
|RW
 
|RW
|
+
|Character
|
+
|Text displayed in the button
 
|-
 
|-
|Backstyle
+
|valign="top"|Picture
|RW
+
|valign="top"|RW
|
+
|valign="top"|Character
|
+
|valign="top"|Filename of image displayed in the button
 
|-
 
|-
|Picture
+
|valign="top"|Value
|RW
+
|valign="top"|RW
|
+
|valign="top"|Numeric or Boolean
|
+
|valign="top"|Checked state of the button
|-
+
|Value
+
|RW
+
|
+
|
+
 
|-
 
|-
 
|}
 
|}
Line 33: Line 42:
 
====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 44: Line 53:
 
====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
Line 52: Line 61:
  
 
|}
 
|}
 +
 +
[[Category:Documentation]]
 +
[[Category:Framework Classes]]

Latest revision as of 10:51, 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.

Optionbutton, Optiongroup

An Optiongroup is a labelled containers for Optionbutton controls. Optionbuttons in the group act like radio buttons with a single button on (True) and all other buttons in the group off (False).

Properties

This class supports the Common Properties plus the following:

Property Access (R/RW) Value Description
Backstyle RW Numeric Background style: 0 = transparent, 1 = opaque
Caption RW Character Text displayed in the button
Picture RW Character Filename of image displayed in the button
Value RW Numeric or Boolean Checked state of the button

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