Class TFormat (unit Format)

Inherits from

TComponent

Constructors


constructor Create(Parent : TComponent);

Public declarations

SetFormatType } { Constructor and Destructor } { Create



Functions

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.

Properties

property Capacity : TCapacity

Published declarations

property Drive : TDriveType


property FormatType : TFmtType


Events

Variables

FCapacity : TCapacity;

Private declarations

FDriveType : TDriveType;


FFmtType : TFmtType;


FParent : HWND;


FWinNT : Boolean;



Constructors


constructor Create(Parent : TComponent);

Public declarations

SetFormatType } { Constructor and Destructor } { Create


Functions


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


Properties


property Capacity : TCapacity

Published declarations


property Drive : TDriveType


property FormatType : TFmtType


Events


Variables


FCapacity : TCapacity;

Private declarations


FDriveType : TDriveType;


FFmtType : TFmtType;


FParent : HWND;


FWinNT : Boolean;