RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListBox Methods

The methods of the TCustomListBox class are listed here.

 
Name 
Description 
 
Initializes the window-creation parameter record passed in the Params parameter. 
 
Creates a Windows control corresponding to the list box component. 
 
Deletes a string from the list box. 
 
Saves the list box items in a string list before freeing the underlying Windows control. 
 
Returns the index of a string in the list box. 
 
Returns a string in the list box given its index. 
 
Returns the object associated with an item in a virtual list box. 
 
Sends a mouse message canceling the drag-and-drop operation. 
 
Generates an OnDrawItem event. 
 
Returns a 32-bit value associated with the specified item in a list box. 
 
Returns the value of the ItemIndex property. 
 
Returns the number of selected items. 
 
Indicates whether a particular item is selected. 
 
Retrieves the data associated with an item in the list box. 
 
Associates an integer with a specified item in the list box. 
 
Responds when the user presses a key. 
 
Assigns new strings to the list. 
 
Generates an OnMeasureItem event. 
 
Removes all of the items from a list box. 
 
Saves the items from a list box. 
 
Sets the 32-bit value associated with the specified item in a list box. 
 
Gives focus to the item with a specified index. 
 
Sets the MultiSelect property. 
 
Handles Windows messages. 
 
Name 
Description 
 
Adds an item to the list box 
 
Deletes all items from the list box. 
 
Deselects all selected items in the list box, if possible. 
 
Copies the selected items to another list-type control 
 
Deletes the selected items from the list box 
 
Returns the value of the Count property. 
 
Returns the index of the list box item indicated by the coordinates of a point on the control. 
 
Returns the rectangle that surrounds the item specified in the Item parameter. 
 
Selects the entire block of text in the list box. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!