|
|
Visits:
2431
(16 on line)
|
Last Update: Dec 5, 2003
|
|
|
|
| | |
| Description Inheritance Example Properties Methods |
| |
| Description |
The TListview5 Object is a cover object for the APL+Win Listview object Its <list> property is much simpler to use than the APL+Win Listview list property and it contains built-in logic for input validation. An AutoFit method help resize the Listview columns so that they occupy the whole Listview width |
| Description Inheritance Example Properties Methods |
| |
| Inheritance |
Inherits from: TObject5 |
| Description Inheritance Example Properties Methods |
| |
| Example |
| |
 |
| |
The above example was generated by the following APL+Win Objects code: |
'ff'Świ'*Create' 'TForm5'('caption' 'TListview5 Example')
'ff'Świ'*.lv.Create' 'TListview5'('wherelc'Đ Đ 300 300)('attach'1 2 3 4)
'ff'Świ'.lv.list'1('Functions' 'Sizes'®(Śsplit Śnl 3),[1.5]Śsize Śnl 3) © ELE16aug05 titles added
'ff'Świ'Redim'
'ff'Świ'DemoShowFocus' © ELE16aug05 Show…DemoShowFocus
aaa„1 0‡2ś'ff'Świ'.lv.list' © ELE16aug05 added
aaa[Ľ5;1]„(›'Item '),¨•¨Ľ5 © ELE16aug05 added
'ff'Świ'.lv.listnotitles'aaa © ELE16aug05 added
|
| |
| 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' 'TListview5 Example')
0 0˝'ff' Świ '*.lv.Create' 'TListview5' ('wherelc'Đ Đ 300 300) ('attach'1 2 3 4)
0 0˝'ff' Świ '.lv.list'1('Functions' 'Sizes'®(Śsplit Śnl 3),[1.5]Śsize Śnl 3) © ELE16aug05 titles added
0 0˝'ff' Świ 'Redim'
0 0˝'ff' Świ 'DemoShowFocus' © ELE16aug05 Show…DemoShowFocus
aaa„1 0‡2ś'ff' Świ '.lv.list' © ELE16aug05 added
aaa[Ľ5;1]„(›'Item '),¨•¨Ľ5 © ELE16aug05 added
0 0˝'ff' Świ '.lv.listnotitles'aaa © ELE16aug05 added |
| list |
Description: Syntax: 'obj' Świ 'list'headings list
headings: 0=no headings; 1=headings
list: a nested matrix
Example:
'ff.lv' Świ 'list'1('Functions' 'Sizes'®(Śsplit Śnl 3),[1.5]Śsize Śnl 3) |
 |
| listnotitles |
Description: Allows to set the content of the Listview without changing the titles
Syntax: 'obj' Świ 'listnotitles'list_without_titles
list: a nested matrix
Example:
'ff.lv' Świ 'listnotitles' ((Śsplit Śnl 3),[1.5]Śsize Śnl 3) |
| titles |
Description: Get or set the report titles
Syntax: {title„'} 'obj' Świ 'titles'titles
title: a nested vector of column titles
Example:
'ff.lv' Świ 'titles' 'Functions' 'Sizes' |
| viewmode |
Description: Get or set the viewmode
Syntax: {viewmode„'} 'obj' Świ 'viewmode'viewmode
viewmode: 'report' 'list' 'largeimage' or 'smallimage'
Note: when set to 'report' the TListview5 object style is set to include report titles
Example:
'ff.lv' Świ 'viewmode' 'report' |
|
| Description Inheritance Example Properties Methods |
| |
| Methods |
| |
|
| AutoFit |
Description: Automatically fits the wolumns width to match the longest text strings in these columns
Syntax: 'obj' Świ 'AutoFit'
Example:
'ff.lv' Świ 'AutoFit' |
| New |
Description: Create a new instance of TListview5
Example:
'obj' Świ '*Create' 'TListview5'
|
|
| Description Inheritance Example Properties Methods |
| |
|