|Subject:||Custom Form with published property in 2006|
|Posted by:||James Woods (jwoo…@iadfw.net)|
|Date:||Fri, 16 Mar 2007|
I'm trying to get a custom form registered with the IDE, but am not having
much success. The form descendant has published properties that I want to
have in the object inspector. I have tried to find the information, but it
seems that the information I'm finding is for versions of Delphi before mine
(Turbo 2006) when things were different.
When I try to make a unit to include in a package, I include the following:
uses dsgnIntf, DD3Form;
The trouble is that Delphi 2006 does not recognize dsgnIntf,
RegisterCustomModule or TCustomModule. Thinking that my search paths were
deficient, I did a windows search for dsgnIntf and found nothing except for
a copy under my old version 5 Delphi.
As I understand it, I should:
1) Create the new form class from TCustomForm or TForm. (mine is from
2) Create a package
3) Include a new unit in the package that has the above Register procedure
4) Include the new class in the package
5) Compile and install the package
I have conflicting information on the web about how to get the form to be
one of the Delphi projects under file-->new.
I would REALLY appreciate any help. Can someone provide a guideline or
point me to a published procedure that is for 2006?