JVCL Help:TJvFormatDriveDialog

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvFormatDriveDialog
run\JvWinDialogs.pas


Summary

Displays the standard Shell format dialog.

run\JvWinDialogs.pas


Pascal

 run\JvWinDialogs.pas
 TJvFormatDriveDialog = class(TJvCommonDialogF);


Description

  1. JVCLInfo

TJvFormatDrive is a wrapper for the Windows SHFormatDrive API.
This Windows API function displays the standard Shell format dialog. The actual format process is controlled by the dialog interface. It cannot be started programmatically.
Use Drive to specify the drive to format. Use FormatType to specify which option button is selected in the Format type group box of the format dialog. Note that the user can nevertheless select another format type. Use Capacity to specify the formatted capacity of the drive.
Some values of FormatType and Capacity are ignored on Windows NT, 2000 and XP systems. For example, if you set Capacity to dcSize360kB, under Windows XP this value is ignored and the system uses the drives default capacity.
Call Execute to display the format dialog.

run\JvWinDialogs.pas


About

Navigation

run\JvWinDialogs.pas



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