Skip to main content

TcxTab.VisibleRow Property

Returns the visible index of the tab row that contains this tab.

Declaration

property VisibleRow: Integer read;

Property Value

Type
Integer

Remarks

Tabs are arranged within several rows if the following conditions are met:

  • The total width of visible tabs exceeds the width of the control;

  • The MultiLine property is set to True.

In such instances, you can read the tab’s VisibleRow property value to determine the zero-based visible index of the tab row containing the tab.

Note that tabs can change their visible order only if the ScrollOpposite property is set to False. The following image displays an example of changing row order:

If the ScrollOpposite property is set to True, rows always have their initial order. The image below illustrates this situation.

Note

tab row indexes are calculated from the top (from the left if the TabPosition property is set to tpLeft or tpRight).

See Also