Class TFormat (unit Format) |
Inherits from
TComponent
constructor Create(Parent : TComponent);
- Public declarations
SetFormatType } { Constructor and Destructor } { Create
destructor Destroy;
Create } { Destroy
function FormatDrive : LongInt;
Destroy } { Public methods } { FormatDrive - this routine actually calls the API function to
format the drive
procedure SetDriveCapacity(Value : TCapacity);
Property Set and Get Methods } { SetDriveCapacity - set's the drive capacity during
format.
procedure SetFormatType(Value : TFmtType);
SetDriveCapacity } { SetFormatType - set's the format type - some types aren't
available under Windows NT 4.
property Capacity : TCapacity
Published declarations
property Drive : TDriveType
property FormatType : TFmtType
FCapacity : TCapacity;
Private declarations
FDriveType : TDriveType;
FFmtType : TFmtType;
FParent : HWND;
FWinNT : Boolean;
constructor Create(Parent : TComponent);
Public declarations
SetFormatType } { Constructor and Destructor } { Create
destructor Destroy;
Create } { Destroy
function FormatDrive : LongInt;
Destroy } { Public methods } { FormatDrive - this routine actually calls the API function to
format the drive
procedure SetDriveCapacity(Value : TCapacity);
Property Set and Get Methods } { SetDriveCapacity - set's the drive capacity during
format.
procedure SetFormatType(Value : TFmtType);
SetDriveCapacity } { SetFormatType - set's the format type - some types aren't
available under Windows NT 4.0
property Capacity : TCapacity
Published declarations
property Drive : TDriveType
property FormatType : TFmtType
FCapacity : TCapacity;
Private declarations
FDriveType : TDriveType;
FFmtType : TFmtType;
FParent : HWND;
FWinNT : Boolean;