|
|
Visits:
2312
(42 on line)
|
Last Update: Dec 21, 2003
|
|
|
|
| | |
| Description Inheritance Example Properties Methods |
| |
| Description |
The TDualSelect5 Object is a complex object made of a frame containing 2 lists boxes
and buttons to move items between the list boxes. The left list box should contain a list of items
from which the user wants to make a selection: the user selects one or more items in the left list box
then clicks on a button to move them to the right list box. Properties are available for retrieving
list box contents and methods for simulating clicks on the various buttons.
This object nicely and automatically resizes its internal controls when the frame container is resized. |
| Description Inheritance Example Properties Methods |
| |
| Inheritance |
Inherits from: TFrame5 TObject5 |
| Description Inheritance Example Properties Methods |
| |
| Example |
| |
 |
| |
The above form is generated by the following APL+Win Objects code: |
'ff'Świ'*Create' 'TForm5'('*caption' 'TDualSelect5 Example')
'ff.dual'Świ'*Create' 'TDualSelect5'('wherelc'5 5 300 400)('attach'1 2 3 4)('*caption' 'TDualSelect5')('list1'(Śnl 3))
'ff'Świ'ShowRedim'
|
| |
| Description Inheritance Example Properties Methods |
| |
| Properties |
| |
|
| class |
Description: Return current object class
Syntax: class„'obj' Świ 'class' |
| help |
Example:
0 0˝'ff' Świ '*Create' 'TForm5' ('*caption' 'TDualSelect5 Example')
0 0˝'ff.dual' Świ '*Create' 'TDualSelect5' ('wherelc'5 5 300 400) ('attach'1 2 3 4) ('*caption' 'TDualSelect5') ('list1' (Śnl 3))
'ff' Świ 'ShowRedim' |
| list1 |
Description: Get or Set the content of the first list box
Syntax: 'obj' Świ 'list1'content
content: a character matrix
Example:
'ff.dual' Świ 'list1' (Śnl 3) |
| list2 |
Description: Get or Set the content of the second list box
Syntax: 'obj' Świ 'list2'content
content: a character matrix
Example:
'ff.dual' Świ 'list2' (Śnl 3) |
|
| Description Inheritance Example Properties Methods |
| |
| Methods |
| |
|
| Click1 |
Description: Simulates a click on the first button
Syntax: 'obj' Świ 'Click1'
Example:
'ff.dual' Świ 'Click1' |
| Click2 |
Description: Simulates a click on the second button
Syntax: 'obj' Świ 'Click2'
Example:
'ff.dual' Świ 'Click2' |
| Click3 |
Description: Simulates a click on the third button
Syntax: 'obj' Świ 'Click3'
Example:
'ff.dual' Świ 'Click3' |
| Click4 |
Description: Simulates a click on the fourth button
Syntax: 'obj' Świ 'Click4'
Example:
'ff.dual' Świ 'Click4' |
| New |
Description: Create a new instance of TDualSelect5
Example:
'obj' Świ '*Create' 'TDualSelect5'
|
| Repaint |
Description: Enables or disables repaint in the TDualSelect5 list boxes
Syntax: 'obj' Świ 'Repaint'boolean
boolean: 0=stop repainting the list boxes, 1=repaint the list boxes now
Example:
'ff.dual' Świ 'Repaint'1 |
|
| Description Inheritance Example Properties Methods |
| |
|