The closest I have got is by implementing IOTAModuleCreator (along with
IOTACreator) (thank you Erik Berry!) and then trying to create the form's
resource file using an implementation of IOTAModuleCreator.NewFormFile. the
rest of the implementation is identical to inheriting from TForm, which
works.
However, this create the following error: "Cannot load a form that has
itself as an ancestor".
Am I going about this the right way?
Yes? Can you tell me where am I going wrong, please?
No? Can you guide me to the right way of doing it, please?
Thanks in advance,
Colin Hughes.
The NewFormFile was incorrect. I had a standard object declared in there,
not "inherited".
Kind regards,
Colin Hughes.
"Colin Hughes" <madd...@lineone.net> wrote in message
news:3b7bb289_1@dnews...
> Hello. I am trying to write a form wizard in D6 that creates a descendant
> of a form I have created (which has abstract methods that the wizard will
> implement).
>
> The closest I have got is by implementing IOTAModuleCreator (along with
> IOTACreator) (thank you Erik Berry!) and then trying to create the form's
> resource file using an implementation of IOTAModuleCreator.NewFormFile.
the
> rest of the implementation is identical to inheriting from TForm, which
> works.
>
> However, this create the following error: "Cannot load a form that has
> itself as an ancestor".
>
> Am I going about this the right way?
> Yes? Can you tell me where am I going wrong, please?
Declare the form's resource file properly!!