[yunqa.de] Re: Class TDIKeyHandler: ItemHandler in user during destruction

  • From: Spryka Information <info@xxxxxxxxxx>
  • To: Delphi Inspiration <yunqa@xxxxxxxxxxxxx>
  • Date: Sun, 11 May 2008 21:11:49 +0530

Hello Delphi,

Thanks.. I donno how I missed that..

Khurram


Sunday, May 11, 2008, 6:32:04 PM, you wrote:

DI> Spryka Information wrote:

>>  I have the class with me, but I do not want to email it to an
>>  entire list.

DI> Based on example code sent via private e-mail:

DI> You THTMLLinkWriter.Destroy destructor is missing the "override"
DI> directive, so your implementation code is never executed.

DI> Please change your THTMLLinkWriter class interface like this:

DI>  THTMLLinkWriter = class
DI>   private
DI>     FOwner: TComponent;
DI>     fDIHtmlWriter: TDIHtmlWriterPlugin;
DI>     fDIHtmlParser: TDIHtmlParser;
DI>     FOutputHTML: TStringList;
DI>     fInputHtml: TStringList;
DI>     fTrackURL: string;
DI>     procedure ConvertToTrackLink(var Value: string);
DI>   public
DI>     property InputHTML: TStringList read fInputHtml; //set this to your 
HTML you want to convert
DI>     property OutputHtml: TStringList read FOutputHTML;
DI>     property TrackURL: string read fTrackURL write fTrackURL;
DI>     constructor Create(AOwner: TComponent);
DI>     destructor Destroy; override; // yunqa: Added "override".
DI>     function Parse: Boolean;
DI>   end;

DI> Ralf 

DI> _______________________________________________
DI> Delphi Inspiration mailing list
DI> yunqa@xxxxxxxxxxxxx
DI> //www.freelists.org/list/yunqa





-- 
Best regards,
 Spryka                            mailto:info@xxxxxxxxxx

_______________________________________________
Delphi Inspiration mailing list
yunqa@xxxxxxxxxxxxx
//www.freelists.org/list/yunqa



Other related posts: