virtualdrives Drive property
Return to Introduction  Previous page  Next page
Applies to
dcVirtualDrives component.  

Declaration
property Drive: Char;  

Description
The Drive property specifies the disk letter for the virtual drive, to determinate its target directory in the Target property (see also GetTargetByDrive method).  
 
tip You can specify the only drive which available in the VirtualDrives list. You can NOT specify / select the Drive, when the VirtualDrives list is empty. To add new virtual drive - use AddDrive method at run-time, or click the right mouse button on the component image and select the "Add virtual drive..." menu item at desing-time.  

See also
Target and VirtualDrives properties;  
GetTargetByDrive, AddDrive and DeleteDrive methods.  
File not found.