RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TButtonCategories.ItemAt Method

ItemAt returns the button category with the given index.

Pascal
function ItemAt(const Index: Integer): TBaseItem;
C++
__fastcall TBaseItem ItemAt(const int Index);

Call ItemAt to obtain the button category in the Items category list, with the given index specified through the Index parameter.  

Notice that the button category list is indexed while ignoring the collapsed categories. Therefore you are not able to obtain a button category inside a collapsed category.  

ItemAt returns the button category with the given index, if found, or nil otherwise. 

 

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