|
|
Visits:
2536
(51 on line)
|
Last Update: Dec 21, 2003
|
|
|
|
| | |
| Description Inheritance Example Properties Methods |
| |
| Description |
The TCheckGroup5 object is a collection of TCheck5 objects grouped in a Frame.
Using a TCheckGroup5 object is much simpler than using several/manu TCheck5 objects.
The TCheck5 objects contained in TCheckGroup5 object are automatically positionned in their
Frame container according to the shape of the <list> property.
See also: TCheck5 TOption5 TOptionGroup5 |
| Description Inheritance Example Properties Methods |
| |
| Inheritance |
Inherits from: TObject5 |
| Description Inheritance Example Properties Methods |
| |
| Example |
| |
 |
| |
The above form is generated by the following APL+Win Objects code: |
'ff'Œwi'*Create' 'TForm5'('*caption' 'TCheckGroup5 Example')('*size'300 400)'DemoShow' 'SessionFocus'
'ff'Œwi'*.og1.Create' 'TCheckGroup5'('wherelc'Ð Ð Ð Ð)('list'(2 3½'APL+Dos' 'APL+Win' 'APL+Unx' 'APL+PC' 'Dyalog APL' 'APL2 PC'))
'ff'Œwi'*.og2.Create' 'TCheckGroup5'('border'0)('wherelc' '>' '='Ð Ð)('list'(6 1½'APL+Dos' 'APL+Win' 'APL+Unx' 'APL+PC' 'Dyalog APL' 'APL2 PC'))
|
| |
| Description Inheritance Example Properties Methods |
| |
| Properties |
| |
|
| border |
Description: Surround the TOptionGroup buttons with a frame or not
Syntax: {boolean„'} 'obj' Œwi 'border' {boolean}
boolean: 1=(default)surround with a frame, 0=don't
Example:
'ff.og1' Œwi '*Create' 'TCheckGroup5' ('border'0) ('wherelc'Ð Ð Ð Ð) ('list' (2 3½'APL+Dos' 'APL+Win' 'APL+Unx' 'APL+PC' 'Dyalog APL' 'APL2 PC')) |
| buttonnames |
Description: Return the names of the buttons objects in the group (read-only property)
Syntax: buttonnames„'obj' Œwi 'buttonnames'
buttonnames: a nested vector of button names
Example:
'ff.og1' Œwi 'buttonnames' |
| class |
Description: Return current object class
Syntax: class„'obj' Œwi 'class' |
| help |
Example:
0 0½'ff' Œwi '*Create' 'TForm5' ('*caption' 'TCheckGroup5 Example') ('*size'300 400) 'DemoShow' 'SessionFocus'
0 0½'ff' Œwi '*.og1.Create' 'TCheckGroup5' ('wherelc'Ð Ð Ð Ð) ('list' (2 3½'APL+Dos' 'APL+Win' 'APL+Unx' 'APL+PC' 'Dyalog APL' 'APL2 PC'))
0 0½'ff' Œwi '*.og2.Create' 'TCheckGroup5' ('border'0) ('wherelc' '>' '='Ð Ð) ('list' (6 1½'APL+Dos' 'APL+Win' 'APL+Unx' 'APL+PC' 'Dyalog APL' 'APL2 PC')) |
| list |
Description: Get or Set the list of option buttons making up the TOptionGroup object
Syntax: {list„'} 'obj' Œwi 'list' {list}
list: a nested matrix of option button captions
Note: the shape of <list> shows the layout of buttons in the TOptionGroup object
Example:
'ff.og1' Œwi '*Create' 'TCheckGroup5' ('wherelc'Ð Ð Ð Ð) ('list' (2 3½'APL+Dos' 'APL+Win' 'APL+Unx' 'APL+PC' 'Dyalog APL' 'APL2 PC'))
'ff.og2' Œwi '*Create' 'TCheckGroup5' ('wherelc' '>' '='Ð Ð) ('list' (6 1½'APL+Dos' 'APL+Win' 'APL+Unx' 'APL+PC' 'Dyalog APL' 'APL2 PC')) |
| value |
Description: Get or Set the value property for all option buttons in the group
Syntax: {boolean„'} 'obj' Œwi 'value' {booleanvec}
booleanvec: a boolean vector with one element per option button in the group
boolean: a boolean vector or matrix with one element per option button in the group
Example:
'ff.og1' Œwi 'value'0 0 1 0 0 0 |
|
| Description Inheritance Example Properties Methods |
| |
| Methods |
| |
|
| New |
Description: Create a new instance of TCheckGroup5
Example:
'obj' Œwi '*Create' 'TCheckGroup5'
|
|
| Description Inheritance Example Properties Methods |
| |
|