Internet Direct (Indy)
Home
PreviousUpNext
TIdCookieManager.OnDestroy Property

Event handler signalled during the Create method.

Pascal
property OnDestroy: TOnDestroyEvent;

OnDestroy is a TOnDestroyEvent property that represents the event handler signalled during destruction of the TIdCookieManager object instance. 

OnDestroy can be used to handle management of the CookieCollection when the TIdCookieManager calls the Destroy method. Applications must assign a procedure to the event handler to allow responding to the event notification. 

Use OnCreate to handle management of the CookieCollection when the object instance is created.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.