How To…Hide Notebook Tab

Question

“How can I control the visibility of the Notebook tabs?”

Solution

The following example shows how to use the Designer.Notebook.SetTabsVisible method to hide the Preview tab.

Download: DesignerHideNotebookTab.zip

Sample Delphi code: