ITabView.VisibleScrollBars

Syntax

VisibleScrollBars: TabViewScrollBars;

Description

The VisibleScrollBars property determines whether the horizontal and vertical scrollbars of the table are visible.

Comments

The default value is TabViewScrollBars.Both (both scroll bars are displayed).

Example

To execute the example a form with a button named Button1 on it, the TabSheetBox component, and the UiTabSheet component named UiTabSheet1 that is used as a data source for TabSheetBox are required.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

TabSheet: ITabSheet;

TabView: ITabView;

Begin

TabSheet := UiTabSheet1.TabSheet;

TabView := TabSheet.View;

TabView.VisibleScrollBars := TabViewScrollBars.Horizontal;

End Sub Button1OnClick;

After executing the example only the horizontal scroll bar is displayed:

See also:

ITabView