Vcl.ComCtrls.TCustomTabControl.TabPosition

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property TabPosition: TTabPosition read FTabPosition write SetTabPosition

C++

__property TTabPosition TabPosition = {read=FTabPosition, write=SetTabPosition, default=0};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomTabControl

Description

Determines whether tabs appear at the top or bottom.

Set TabPosition to tpTop to display the tabs at the top of the tab control. Set TabPosition to tpBottom to display the tabs at the bottom. If the ScrollOpposite property is True, tabs can appear at both top and bottom, with the row containing the current tab and all subsequent rows on the side indicated by TabPosition.

Due to a limitation in the windows common control, if TabPosition is tpLeft or tpRight, Font must be a True Type font. Otherwise, tab text may paint incorrectly.

See Also