Topic Path: Symbol Reference > Classes > TIdCookieManager Class > TIdCookieManager Properties > OnDestroy Property
ContentsIndexHome
PreviousUpNext
TIdCookieManager.OnDestroy Property

Event handler signalled during the Create method.

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.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.