Difference between revisions of "Optiongroup"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Helen.george (Talk | contribs) |
||
Line 1: | Line 1: | ||
+ | Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages. | ||
+ | |||
====Properties==== | ====Properties==== | ||
Line 11: | Line 13: | ||
|Caption | |Caption | ||
|RW | |RW | ||
− | | | + | |Character |
− | | | + | |Text displayed in the optiongroup frame |
|- | |- | ||
|Value | |Value | ||
|RW | |RW | ||
− | | | + | |Numeric |
− | | | + | |Number of the currently selected option button |
|- | |- | ||
− | | | + | |ButtonCount |
|RW | |RW | ||
− | | | + | |Numeric |
− | | | + | |Number of option buttons in the group |
|- | |- | ||
|Flat | |Flat | ||
|RW | |RW | ||
− | | | + | |Boolean |
− | | | + | |Whether the optiongroup frame is flat or raised |
|- | |- | ||
|} | |} | ||
Line 40: | Line 42: | ||
!width="50%"|Description | !width="50%"|Description | ||
|- | |- | ||
− | | | + | |valign="top"|AddObject |
− | | | + | |valign="top"|existing as Object |: newobject as Character, class as Character |
− | | | + | |valign="top"|Add an existing object or a new object, in which case the object's class must also be specified |
|- | |- | ||
− | | | + | |valign="top"|RemoveObject |
− | | | + | |valign="top"|existing as Object |
− | | | + | |valign="top"|Remove the specified object |
|- | |- | ||
− | |Buttons | + | |valign="top"|Buttons |
− | | | + | |valign="top"|button as Numeric |
− | | | + | |valign="top"|Return an object reference to the specified option button |
|- | |- | ||
|} | |} | ||
Line 62: | Line 64: | ||
!Args | !Args | ||
!width="50%"|Description | !width="50%"|Description | ||
− | + | |- | |
+ | |valign="top"|click | ||
+ | |valign="top"|button as Numeric | ||
+ | |valign="top"| Occurs when a button in the group is clicked | ||
+ | |- | ||
|} | |} | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Framework Classes]] | [[Category:Framework Classes]] |
Revision as of 07:53, 9 January 2013
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
Properties
This class supports the Common Properties plus the following:
Property | Access (R/RW) | Value | Description |
---|---|---|---|
Caption | RW | Character | Text displayed in the optiongroup frame |
Value | RW | Numeric | Number of the currently selected option button |
ButtonCount | RW | Numeric | Number of option buttons in the group |
Flat | RW | Boolean | Whether the optiongroup frame is flat or raised |
Methods
This class supports the Common Methods plus the following:
Method | Args | Description |
---|---|---|
AddObject | existing as Object |: newobject as Character, class as Character | Add an existing object or a new object, in which case the object's class must also be specified |
RemoveObject | existing as Object | Remove the specified object |
Buttons | button as Numeric | Return an object reference to the specified option button |
Events
This class supports the Common Events plus the following:
Event | Args | Description |
---|---|---|
click | button as Numeric | Occurs when a button in the group is clicked |