Skip to main content
Table of Contents

TTMSFNCBloxToolBar.Rebuild Method

Recreates the toolbar buttons and panels to reflect the current configuration.

API unit family: TMSFNCBloxToolBar Declaring type: TTMSFNCBloxToolBar Inherited from: TTMSFNCBloxCustomToolBar

Syntax

FMX.TMSFNCBloxToolBar.hppPascalC++
procedure Rebuild;
void __fastcall Rebuild();

Usage examples

Refresh registered element tools

Rebuilds the context toolbar and the select toolbar picker after registration changes.

Refresh registered element toolsPascalC++
procedure TForm1.RefreshElementTools;
begin
  BloxToolBar1.Rebuild;
  BloxSelectToolBar1.OtherButton.BloxSelector.Rebuild;
end;
void __fastcall TForm1::RefreshElementTools()
{
  BloxToolBar1->Rebuild();
  BloxSelectToolBar1->OtherButton()->BloxSelector()->Rebuild();
}

Read the related guide