Skip to main content

TdxSpreadSheetCustomView.Index Property

Specifies the worksheet tab position within the caption bar.

Declaration

property Index: Integer read; write;

Property Value

Type
Integer

Remarks

Use this property to change the order of worksheet tabs within the caption bar area. Increment the Index property by one to move the worksheet tab right by one position within the list; decrement the Index property by one to move the worksheet tab one position left, towards the beginning of the tab list.

An end-user can change worksheet tab positions by performing a drag-and-drop operations. For instance, the following image shows that the Sheet5 tab is about to be placed between the Sheet2 and Sheet3 tabs:

Since the tabs corresponding to invisible worksheets are not displayed within the caption bar area, changing the Index property value has no effect for them.

See Also