RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.TOperation Enumeration

TOperation represents the types of operations whose occurrence is broadcast by the Notification method.

Pascal
TOperation = (
  opInsert,
  opRemove
);
C++
enum TOperation {
  opInsert,
  opRemove
};

Classes

The TOperation type is used in the Notification method to indicate whether the notification indicates the creation or deletion of an object. The following table gives the possible values:

Value 
Meaning 
opInsert  
The specified object has just been created.  
opRemove  
The specified object has been destroyed, and its memory is about to be freed.  

 

TComponent

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!