Vcl.Ribbon.TRibbonTabs.IndexOfCaption
Delphi
function IndexOfCaption(const Caption: string): Integer;
C++
int __fastcall IndexOfCaption(const System::UnicodeString Caption);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Ribbon.pas Vcl.Ribbon.hpp |
Vcl.Ribbon | TRibbonTabs |
Description
Returns the index of a ribbon tab item that has a specific caption. The search is made by the item's caption.