Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetCustomView.Active Property

Specifies if the worksheet is active.

#Declaration

Delphi
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