RAD Studio VCL Reference
ContentsIndex
TPopupList Members Public Methods
Public Methods
 
Name 
Description 
 
Add 
Inserts a new popup menu at the end of the list. 
 
Responds after the last constructor has executed. 
 
Copies elements of one list to another. 
 
Responds before the first destructor executes. 
 
Returns a pointer to the runtime type information (RTTI) table for the object type. 
 
Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). 
 
Determines whether an object is of a specific type. 
 
Returns the type of the immediate ancestor of a class. 
 
Returns the class reference for the object's class. 
 
Performs finalization on long strings, variants, and interface variables within a class. 
 
Deletes all items from the list. 
 
Constructs an object and initializes its data before the object is first used. 
 
Provides the interface for a method that processes message records. 
 
Removes the item at the position given by the Index parameter. 
 
Destroys an instance of TList
 
Disposes of an object instance. 
 
Calls message-handling methods for the object, based on the contents of the Message parameter. 
 
Checks if the current instance and the parameter are equal. 
 
This is the overview for the Error method overload. 
 
Swaps the position of two items in the Items array. 
 
Increases the Capacity of the list. 
 
Removes a specified item from the list. 
 
This is the overview for the FieldAddress method overload. 
 
Returns Items[0]. 
 
Free 
Destroys an object and frees its associated memory, if necessary. 
 
Deallocates memory allocated by a previous call to the System::TObject::NewInstance method. 
 
Returns a TList enumerator. 
 
Returns an integer containing the hash code. 
 
Retrieves a specified interface. 
 
Returns the entry for a specific interface implemented in a class. 
 
Returns a pointer to a structure containing all of the interfaces implemented by a given class. 
 
Returns the index of the first entry in the Items array with a specified value. 
 
Determines the relationship of two object types. 
 
Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. 
 
Adds an object to the Items array at the position specified by Index
 
Returns the size in bytes of each instance of the object type. 
 
Last 
Returns Items[Count - 1]. 
 
This is the overview for the MethodAddress method overload. 
 
Returns the name of a class method by address. 
 
Move 
Changes the position of an item in the Items array. 
 
Allocates memory for an instance of an object type and returns a pointer to that new instance. 
 
Pack 
Deletes all nil (Delphi) or NULL (C++) items from the Items array. 
 
Removes a popup menu from the list. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Sort 
Performs a QuickSort on the list based on the comparison function Compare. 
 
Returns a string containing the class name. 
 
Returns a string containing the unit name. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.