RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBLookupList.Notification Method

Responds to notifications that components are about to be destroyed.

Pascal
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
C++
virtual __fastcall Notification(TComponent * AComponent, TOperation Operation);

After calling the inherited method, Notification  

Checks if the pop-up menu for any of its columns is going away, and if so, resets the PopupMenu property of the column object. 

Checks if the data source is going away, and if so, sets the DataSource property to nil (Delphi) or NULL (C++). 

Checks if any of the field components associated with its columns is going away, and if so, removes the column from the layout. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!