Vcl.ComCtrls.TTabControl.TabPosition
Delphi
property TabPosition: TTabPosition read FTabPosition write SetTabPosition default 0;
C++
__property TabPosition = {default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TTabControl |
Description
Determines whether tabs appear at the top or bottom.
Vcl.ComCtrls.TTabControl.TabPosition inherits from Vcl.ComCtrls.TCustomTabControl.TabPosition. All content below this line refers to Vcl.ComCtrls.TCustomTabControl.TabPosition.
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.