Vcl.CategoryButtons.TButtonCategories.ItemAt

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ItemAt(const Index: Integer): TBaseItem;

C++

TBaseItem* __fastcall ItemAt(const int Index);

Properties

Type Visibility Source Unit Parent
function public
Vcl.CategoryButtons.pas
Vcl.CategoryButtons.hpp
Vcl.CategoryButtons TButtonCategories

Description

ItemAt returns the button category with the given 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.

See Also