Description:

A component that enhances the properties of a form by  allowing it to accept files, to have a minimum and maximum  tracking size, and to easily save and restore its size and position.

Properties/Events:

*** property AcceptFiles: Boolean;

If True the user can drag and drop files to te form.

*** property BringToFront: Boolean;

If True the form will become active when files are dropped on it. This property has no meaning if AcceptFiles is False.

*** property MaxSize: TSize;

Specifies the maximum size to which the form can be resized.

*** property MinSize: TSize;

Specifies the minimum size to which the form can be resized.

*** property SavePlacement: Boolean;

If True the component will save the form's size and position when the form is destroyed and will load them when it is created. If working under Delphi1 the settings will be saved to an INI file, otherwise - to the Registry.

*** property SaveName: string;

The Ini file or Registry key to save form's size and position to.

*** property SaveKey: string;

The Ini section or Key Value name to save form's size and position to.

*** property OnDropFiles: TDropFilesEvent;

Called each time the user drags and drops files on the form. The Files parameter contains the names of the files that were dropped and the Pos parameter is the position (in window coordinates) at which they were dropped.

Installation:

I'm not going to explain you how to install the component - this is written in the manual. The thing you should know is that FORMENH.D16 and FORMENH.D32 are DCR files (delphi component resource) for Delphi1 and Delphi2 respectively. Rename the file you need to FORMENH.DCR and copy it to the same directory as FORMENH.PAS.

Author:

My name is Nikolai Botev. My e-mail is "botevi@bu.omega.bg". If you have any comments, suggestions or anything else you want to tell me don't hesitate to drop me a line.

DISCLAIMER:
I take no responsibility for damages of any kind caused by this component!