Skip to main content

TdxSpreadSheetCustomView.Active Property

Specifies if the worksheet is active.

Declaration

property Active: Boolean read; write;

Property Value

Type Description
Boolean

True if the worksheet is active; otherwise, False.

Note

Only one worksheet in a spreadsheet document can be active at a time. If you assign True to the Active property of another worksheet in the same document, the current worksheet’s Active property value changes to False.

Remarks

A Spreadsheet control can allows users to work with one visible worksheet at a time. The worksheet whose content is currently visible is active.

Use the Active property to switch between worksheets if the current document in the parent Spreadsheet control contains multiple sheets.

Users can click sheet tabs to switch between visible worksheets.

Property Setter Behavior

The Active property setter ignores an attempt to assign False to the property because the parent spreadsheet control always displays the active worksheet. To deactivate the current worksheet, assign True to another worksheet’s Active property.

See Also