RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTabControl.TabPosition Property

Determines whether tabs appear at the top or bottom.

Pascal
property TabPosition: TTabPosition;
C++
__property TTabPosition TabPosition;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!