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

TcxCurrencyEditProperties Class

Stores currency editor settings.

#Declaration

Delphi
TcxCurrencyEditProperties = class(
    TcxCustomCurrencyEditProperties
)

#Remarks

A currency editor is a numeric editor designed to work with monetary values.

VCL Editors Library: A Currency Editor Example

#Main API Members

The list below outlines key members of the TcxCurrencyEditProperties class. These members allow you to configure currency editors.

#Appearance Options

Alignment | UseLeftAlignmentOnEditing
Specify content alignment.
Images
Specifies the image source for editor button glyphs.
OnButtonGlyphDrawParameters
Allows you to customize the appearance of editor button glyphs.

#User Interaction Options

Automation
Provides access to UI Automation and accessibility settings.
AutoSelect
Specifies if the editor automatically selects its content when it receives focus.
Buttons
Allows you to manage and configure embedded editor buttons
ClearKey | ClickKey
Allow you to associate keystrokes with basic user actions.
OnButtonClick
Allow you to execute custom code when a user clicks embedded editor buttons and closes the editor’s drop-down window.
ReadOnly
Enables or disables read-only mode. You can use the editor’s Style.ReadOnly and StyleReadOnly properties to customize editor appearance options for the read-only state.
UseMouseWheel
Specifies if the editor always responds to mouse wheel rotation.

#Text Editor Settings

EditFormat | DisplayFormat | UseDisplayFormatWhenEditing
Specify text format patterns in different editor states.
HideSelection
Allows you to hide text selection.
Nullable | Nullstring | UseNullString
Allow you to specify display text for the Null Variant edit value.

#User Input Limitations

DecimalPlaces
Specifies the number of decimal places in a value.
MaxLength
Limits the length of an input string.
MaxValue | MinValue
Limit the range of valid numeric values.

#Edit Value Validation

BeepOnError
Allows you to play the standard system sound when a validation error occurs.
ErrorIcon | ValidationErrorIconAlignment
Specify and position an error icon.
ValidateDisplayValue | ValidateOnEnter | OnValidate | IsEditValueValid
Allow you to validate user input.
ValidationOptions
Specifies validation option flags.

#General-Purpose API Members

AssignedValues | RestoreDefaults
Allow you to track the state of individual editor-specific settings and reset them.
BeginUpdate | EndUpdate | LockUpdate | DoUpdate | Update | Changed | ChangedLocked | DataChanged
Allow you to manage editor updates and avoid excessive redraw operations during batch editor setting changes.
GetButtonsClass | GetContainerClass | GetStyleClass | GetViewInfoClass
Return editor property value types.

#Direct TcxCurrencyEditProperties Class References

The following public API members reference a TcxCurrencyEditProperties object:

TcxCurrencyEdit.ActiveProperties
Provides access to active currency editor settings.
TcxCurrencyEdit.Properties
Provides access to currency editor settings.
TcxDBCurrencyEdit.ActiveProperties
Provides access to active currency editor settings.
TcxDBCurrencyEdit.Properties
Provides access to currency editor settings.
See Also