JVCL Help:TJvDriveList.Drives
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvDriveList.Drives Property
[+] TJvDriveList Methods
[+] TJvDriveList Properties
Search in JVCL Help
Search in all projectsSummary
Provides indexed access to the drives in the control.
Pascal
propertyDrives [Index: Integer]: string;
Description
Use Drives to access a specific drive in the list based on its index. Valid indices range from 0 to DriveCount - 1. For example, when MultiSelect is true, you can use Drives and DriveCount to create a list of drives the user has selected: var
i:integer;
S:string;
begin
S := ;
for i := 0 to JvDriveList.DriveCount - 1 do
if JvDriveList.Selected[i] then
S := S + JvDriveList.Drives[i] + #13#10;
ShowMessageFmt('You selected the following drives:'#13#10'%s',[S]);
end;
See Also
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page