Xbasic

{TabBand}

Syntax

{TabBand= %O={@@}%Width, Height }

Arguments

Width

Numeric. The width of the tab band. An integer value. Can be expressed as characters, or inches. To express the width in inches use a quote character. e.g. 5"

Height

Numeric. The height of the tab band. Can be expresses as a number representing 'lines' or can be expressed in inches. To express the height in inches use a quote character. e.g. .25"

Pointer

The name of the pointer variable containing the tab meta control definition.

Description

The {TabBand} command inserts a line of tabs into an Xdialog control. Each tab will display a different page.

Events 

  • .events.init 

    The event fired on initial display.

  • .events.change 

    The event fired on change (mouse down).

  • .events.close 

    The event fired when the close button is pressed.

  • .events.rClick 

    The event fired when a tab is right clicked.

  • .events.CompleteChange 

    The event fired after the tab change (on mouse up). The meta control gains focus on this event, so if you want to set focus to another control on the Xdialog, then you do it here.

Properties 

  • .LeftPadding 

    Numeric. Left indent. Increasing this number pushes the start position of the first tab over to the right.

  • .PrevTab 

    Numeric. The number of the previous tab.

  • .Tab 

    Numeric. The number of the current tab.

Methods 

Example 

For a detailed example see the sample "Learning Xdialog" database.

Limitations

Desktop applications only

See Also