Frequently Asked Component Specific Questions

Options

Display all FAQ items

Search FAQ items:


Displaying items 1 to 1 of 1, page 1 of 1

<< previous next >>

TMS ToolPanels
Programmatically inserting a toolpanel

This code snippet shows how to programmatically create and insert a new toolpanel in a TAdvToolPanelTab:
var
  tp: TAdvToolPanel;
begin
  tp := TAdvToolPanel.Create(advtoolpanelTab1);
  tp.Caption := ''New panel'';
  AdvToolPanelTab1.InsertPanel(tp);
end;