TAdvToolPanelTab - Hide a Tab

Is there any way to hide/disable specific tabs in the TAdvToolPanelTab component? I tried setting the Caption to empty but still got a narrow (active) tab.

It is at this moment not possible to hide the tab for a ToolPanel added to the TAdvToolPanelTab. It would make ToolPanels no longer accessible via the UI.

My problem is that not all tool panels are appropriate in all settings and the user getting access to the tool panel is cusing problems. I have developed a work around using an interposer class for TAdvToolPanelTab with a modified Paint method and a field with a list of non-visible tabs - a bit messy but it works OK.

1 Like