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 scrollbars are visible).

Example

Executing the example requires a form with the Button1 button located on it,, the TabSheetBox component, and the UiTabSheet component named UiTabSheet1 that is used as a data source for TabSheetBox.

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 scrollbar is visible:

See also:

ITabView