Vcl.Samples.DirOutln.TDirectoryOutline.SetDrive

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetDrive(NewDrive: Char);

C++

void __fastcall SetDrive(System::WideChar NewDrive);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Samples.DirOutln.pas
Vcl.Samples.DirOutln.hpp
Vcl.Samples.DirOutln TDirectoryOutline

Description

Sets the current drive.

SetDrive sets the current drive to the value indicated by the NewDrive parameter. Only letters are allowed.

SetDrive is the protected write implementation of the Drive property.

See Also