共用方式為


TabStyle Property

Specifies whether the Page tabs in a page frame are justified or non-justified. Available at design time and run time.

PageFrame.TabStyle[ = nStyle]

Property Values

  • nStyle
    One of the following:
    nStyle Description
    0 (Default) Justified. The width of each page tab is adjusted to accommodate its caption. If necessary, the width of each page tab is increased so the page tabs span the entire width of the PageFrame.

    This setting is ignored if the TabStretch property is set to 1, Single Row.

    1 Non-justified. The width of each page tab is not adjusted to accommodate its caption. The width of each page tab isn't adjusted so that the page tabs span the entire width of the PageFrame.

    This setting is ignored if the TabStretch property is set to 1, Single Row.

See Also

TabStretch Property | AllowTabs Property

Applies To: PageFrame