View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004639 | JEDI VCL | 00 JVCL Components | public | 2008-12-24 13:25 | 2008-12-30 02:32 |
Reporter | debose | Assigned To | obones | ||
Priority | normal | Severity | trivial | Reproducibility | N/A |
Status | resolved | Resolution | no change required | ||
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | ||||
Summary | 0004639: TJvFormatDriveDialog property Capacity should be deprecated now | ||||
Description | Capacity property has type TJvDriveCapacity = (dcDefault, dcSize360kB, dcSize720kB); Not sure, that anyone will format disk for 360 kb. =) TJvFormatDriveDialog.Execute converts Capacity property value to fmtID and calls SHFormatDrive function. But in MSDN is written following: fmtID [in] The ID of the physical format. Only the following flag is currently defined. SHFMT_ID_DEFAULT - The default format ID. Prooflink: http://msdn.microsoft.com/en-us/library/bb762169.aspx | ||||
Additional Information | Additionally, i think, that this component should be removed from JVCL, and/or it functionality can be easily replaced with function JvShowFormatDialog. Reason is, that JVCL is huge enough without need to keep components that wraps signle API function. Similar components, that wraps only one Api function: TJvConnectNetwork, TJvDisconnectNetwork. | ||||
Tags | No tags attached. | ||||
|
By looking at the code you will see that this property is only supported for non NT versions of windows, that is Win98 and Win95. Sure, those two are not supported by the latest IDE, but the JVCL support is from D5 to all the latest, so this flag is still useful for people generating applications for these older versions of windows. |