WinStudio

About Notebook and Notebook Tab Components

Notebook and notebook tab components allow you to reuse screen space. A notebook is a component that contains one or more tabs. Each tab can contain other components such as edit boxes, grids, buttons, and so on. The components contained in a tab are visible only when the tab is selected.

If a notebook contains too many tabs to fit horizontally, WinStudio automatically supplies horizontal scroll bars. If you prefer to stack notebook tabs instead of using scroll bars, set the No Scroll property.

For most forms, you can:

Adding a notebook

To add a notebook component:

  1. With a form open, enter Design Mode.
  2. On the Controls tab of the Toolbox, click Notebook.
  3. Click-and-drag on  the form where you want to locate the notebook and to set its dimensions.
  4. Use the component properties sheet to specify properties of the notebook.

Adding a notebook tab

To add a notebook tab component:

  1. Make sure you are in Design Mode for the form that contains the notebook component.
  2. Select the notebook component and, in its upper left corner, double click the "Edit notebook tab(s)" icon.
  3. In the Edit Contained Components dialog box, click Add (near the bottom of the dialog box).
  4. Optionally, configure the new tab directly in the Edit Contained Components dialog box.  

Configuring a notebook tab

To configure an existing notebook tab, you can take one of these actions:

Deleting a notebook tab

To delete a tab from a notebook:

  1. Make sure you are in Design Mode for the form that contains the notebook component.
  2. Select the notebook component and, in its upper left corner, double click the "Edit notebook tab(s)" icon.
  3. In the Edit Contained Components dialog box, click the Delete icon (near the bottom of the dialog box).
  4. When prompted, confirm the deletion.

Related Topics

Setting Form, Component, and Object Properties

Edit Contained Components Dialog Box