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

TdxSpreadSheetCreateDefinedName Class

Implements the CreateDefinedName end-user command available for spreadsheet controls.

#Declaration

Delphi
TdxSpreadSheetCreateDefinedName = class(
    TdxSpreadSheetAction
)

#Remarks

This class does not introduce any new public members. Its overridden Execute function invokes the “New Name“ dialog.

"New Name" Dialog Example

UI elements linked to a TdxSpreadSheetCreateDefinedName action object are enabled only if the following conditions are met:

  • Spreadsheet document edit operations are allowed (that is, the control’s OptionsBehavior.Editing property is set to True).

  • An in-place cell editor is inactive (the active worksheet’s IsEditing property returns False).

  • The active worksheet is not protected (that is, its OptionsProtection.Protected property is set to False).

To localize the caption of UI elements linked to a TdxSpreadSheetCreateDefinedName action object, use the sdxSpreadSheetActionCreateDefinedNameCaption resource string.

See Also