|
|
Visits:
2563
(25 on line)
|
Last Update: Dec 21, 2003
|
|
|
|
| | |
| Description Inheritance Example Properties Methods |
| |
| Description |
The TComboDrive5 Object displays a combo box with all the drives available from this computer.
Small icons representing drive types are dispayed in the combo box. |
| Description Inheritance Example Properties Methods |
| |
| Inheritance |
Inherits from: TCombo5 TObject5 |
| Description Inheritance Example Properties Methods |
| |
| Example |
| |
 |
| |
The above form is generated by the following APL+Win Objects code: |
'ff'Świ'*Create' 'TForm5'('*caption' 'TComboDrive5 Example')
'ff.cbd'Świ'*Create' 'TComboDrive5'('wherelc'5 110 Đ 150)('caption' 'Select a drive')
'ff'Świ'ShowRedim'
|
| |
| Description Inheritance Example Properties Methods |
| |
| Properties |
| |
|
| class |
Description: Return current object class
Syntax: class„'obj' Świ 'class' |
| drivetype |
Description: Get the drive types for each drive in the list (reference only)
Syntax: res„'obj' Świ 'drivetype'
res: any of the following values 1=REMOVABLE 2=FIXED 4=REMOTE
8=CDROM 16=RAMDISK Ż1=UNKNOWN
Example:
'ff.cbd' Świ 'drivetype'1 |
| help |
Example:
0 0˝'ff' Świ '*Create' 'TForm5' ('*caption' 'TComboDrive5 Example')
0 0˝'ff.cbd' Świ '*Create' 'TComboDrive5' ('wherelc'5 110 Đ 150) ('caption' 'Select a drive')
'ff' Świ 'ShowRedim' |
| list |
Description: Gets the names of drives in the list (reference only)
Syntax: res„'obj' Świ 'list'
list: nested vector with drive names
Example:
'ff.cbd' Świ 'list' |
| showtype |
Description: Selects the drive type(s) shown in the list
Syntax: 'obj' Świ 'showtype' {value}
value: the sum of any combination of 1=REMOVABLE 2=FIXED 4=REMOTE
8=CDROM 16=RAMDISK. value=0 shows all types (default)
Example:
'ff.cbd' Świ 'showtype'0 |
|
| Description Inheritance Example Properties Methods |
| |
| Methods |
| |
|
| New |
Description: Create a new instance of TComboDrive5
Example:
'obj' Świ '*Create' 'TComboDrive5'
|
| Refresh |
Description: Refreshes the contents of the DriveComboBox. The method has no arguments.
Syntax: 'obj' Świ 'Refresh'
Note: it uses the current value of the 'showtype' property
to limit the list of displayed drives
Example:
'ff.cbd' Świ 'Refresh' |
|
| Description Inheritance Example Properties Methods |
| |
|