TAB Control

The TAB control allows you to display controls as if they were on different pages or dividers in a notebook.  The TAB control will allow you to design your screen so that it is much easier to use, and you can get more information on the screen at the same time.

NOTE:  The current version of abcDB has a maximum of 40 labels, 40 textboxes, 7 dropdowns, 6 buttons, 14 checkboxes, 1 grid, 4 datepickers, 1 image, 1 scribble and 1 tab per form.


 The TAB control supports the following properties.

Property Name

Description

Tabs

This property allows you to change the number of tabs showing.  Enter your required tabs in the following format:

Tabname1,Tabname2,Tabname3

You could thus create a TAB control that contains a page for CUSTOMER information, a page for INVOICE info, and a page for INVENTORY by putting the following in the ‘tabs’ property:

Customer,Invoice,Inventory

*NOTE:  In design mode, there will always be at least two tabs visible, however if you wish, you can have a tab with only one page.

On Click

This ‘event’ will be fired whenever someone changes the ‘page’ of the tab control.

Tag

You can use the Tag property to specify or determine the string that identifies the name of the TAB control. 

Visible

Specifies whether this TAB will be visible or invisible

Height

The height of this TAB in Twips*

Width

The width of this TAB in Twips*

Left

The horizontal location of the top-left corner of this IMAGE in Twips*

Top

The vertical location of the top-left corner of this IMAGE in Twips*