|
|
Visits:
2344
(27 on line)
|
Last Update: Dec 21, 2003
|
|
|
|
| | |
| Description Inheritance Example Properties Methods |
| |
| Description |
The TEditSelect5 Object is a combination of a TEdit5 object and of a List object
which looks like a Combo box. It also includes 3 buttons to select All items in the List, None of
them or for Inverting the selection.
The user can type any free text in the TEdit5 object or open the list by clicking the combo box-like
button and then select one or more items from the list.
The <selecteditems> property returns the items selected in the List or the text in the TEdit5
control if it is not empty
This object shows how to develop an object which looks like a Combo Box in APL+Win. |
| Description Inheritance Example Properties Methods |
| |
| Inheritance |
Inherits from: TEdit5 TObject5 |
| Description Inheritance Example Properties Methods |
| |
| Example |
| |
 |
| |
The above form is generated by the following APL+Win Objects code: |
'ff'Świ'*Create' 'TForm5'('*caption' 'TEditSelect5 Example')('*size'250 400)
'ff.mEdm'Świ'*Create' 'TEditSelect5'('wherelc'5 5 '>' '>')('list'((Śsplit Śnl 3)~¨' '))('attach'1 2 3 4)
'ff.ed1'Świ'*Create' 'TEdit5'('wherelc'(5+21+5) '='Đ'>')('attach'1 4 3 4)
'ff'Świ'*Set' 'DemoShowRedim'
|
| |
| 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' 'TEditSelect5 Example') ('*size'250 400)
0 0˝'ff.mEdm' Świ '*Create' 'TEditSelect5' ('wherelc'5 5 '>' '>') ('list' ((Śsplit Śnl 3)~¨' ')) ('attach'1 2 3 4)
0 0˝'ff.ed1' Świ '*Create' 'TEdit5' ('wherelc' (5+21+5) '='Đ'>') ('attach'1 4 3 4)
'ff' Świ '*Set' 'DemoShowRedim' |
| list |
Description: Get or set the list property
Syntax: 'obj' Świ 'list' {list}
list: nested vector |
| selecteditems |
Description: Get or Set the list of currently selected items or the text in the Edit field
Syntax: {items„'} 'obj' Świ 'selecteditems' {items}
items: a nested vector of vectors
Example:
'ff.mEdm' Świ 'selecteditems' 'DEB' 'UPPERCASE' 'ROWFIND' |
|
| Description Inheritance Example Properties Methods |
| |
| Methods |
| |
|
| New |
Description: Create a new instance of TEditSelect5
Example:
'obj' Świ '*Create' 'TEditSelect5'
|
|
| Description Inheritance Example Properties Methods |
| |
|