In order to be able to use the TDateDialog component, one must copy the following files to the component directory:
DateDialog.dcu | The component interface unit compiled (Delphi 2.0) |
DateDialog.pas | The component interface unit (not compiled) |
DateDialog.dcr | The component interface resources (i.e. Component-palette image) |
DateDialogUnit.dcu | The actual dialog unit compiled (Delphi 2.0) |
DateDialogUnit.pas | The actual dialog unit (not compiled) |
DateDialogUnit.dfm | The actual dialog form |
In Delphi (2.0), you select Components, Install, Add. Then you use browse to select the file called
DateDialog.pas.
Note:
Since no specific Delphi 2.0 stuff is used, one could probably use this for Delphi 1.0 too, but the resources will need conversion to 16-bit. The component will appear on the component-palette in the 'Dialogs'-tab.