Returns a string in the list box given its index.
function DoGetData(const Index: Integer): String;
__fastcall AnsiString DoGetData(const int Index);
This protected method is called automatically when a virtual list box needs to supply the text of an item. DoGetData is never called unless the list box is virtual (that is, unless the value of the Style property is lbVirtual or lbVirtualOwnerDraw).
DoGetData generates an OnData event and returns the string that is supplied dynamically by the event handler.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!