Difference between revisions of "Optionbutton"
From Lianjapedia
Helen.george (Talk | contribs) |
Barrymavin (Talk | contribs) (→Events) |
||
(3 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}}: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==== | ||
Line 10: | Line 17: | ||
!Value | !Value | ||
!width="50%"|Description | !width="50%"|Description | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|valign="top"|Backstyle | |valign="top"|Backstyle | ||
Line 20: | Line 22: | ||
|valign="top"|Numeric | |valign="top"|Numeric | ||
|valign="top"|Background style: 0 = transparent, 1 = opaque | |valign="top"|Background style: 0 = transparent, 1 = opaque | ||
+ | |- | ||
+ | |Caption | ||
+ | |RW | ||
+ | |Character | ||
+ | |Text displayed in the button | ||
|- | |- | ||
|valign="top"|Picture | |valign="top"|Picture | ||
Line 52: | Line 59: | ||
!Args | !Args | ||
!width="50%"|Description | !width="50%"|Description | ||
− | + | |- | |
+ | |InteractiveChange||None||Occurs when an option is selected | ||
|} | |} | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Framework Classes]] | [[Category:Framework Classes]] |
Latest revision as of 23:46, 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.
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 |
---|---|---|
InteractiveChange | None | Occurs when an option is selected |