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

dxSpreadSheetMaxCaptionLength Constant

In This Article

Specifies the maximum length of the worksheet‘s caption.

#Declaration

Delphi
const dxSpreadSheetMaxCaptionLength = 31;

#Remarks

This global constant’s value limits the length of the worksheet’s name stored in the TdxSpreadSheetCustomView.Caption property.

By default, the maximum length of the string stored as the worksheet’s caption is limited to 31 characters for compatibility with Microsoft Excel® file formats. If compatibility with popular spreadsheet applications is not important for your project, you can bypass this limitation by increasing the value of the dxSpreadSheetMaxCaptionLength global constant.

For additional information on working with worksheet names, refer to the Rename a Worksheet and Add and Delete Sheets topics.

See Also