vcl-cxcurrencyedit-388ef005.md
The base class for currency editor settings.
TcxCustomCurrencyEditProperties = class(
TcxCustomTextEditProperties
)
A currency editor is a numeric editor designed to work with monetary values.
The list below outlines key members of the TcxCustomCurrencyEditProperties class. These members allow you to configure currency editors.
Alignment | UseLeftAlignmentOnEditingSpecify content alignment.ImagesSpecifies the image source for editor button glyphs.OnButtonGlyphDrawParametersAllows you to customize the appearance of editor button glyphs.
Provides access to UI Automation and accessibility settings.
Tip
Use Automation.Name, Automation.Description, and other API members to specify information visible to third-party assistive tools as UIA node properties.
AutoSelectSpecifies if the editor automatically selects its content when it receives focus.ButtonsAllows you to manage and configure embedded editor buttonsClearKey | ClickKeyAllow you to associate keystrokes with basic user actions.OnButtonClickAllow you to execute custom code when a user clicks embedded editor buttons and closes the editor’s drop-down window.ReadOnlyEnables 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.UseMouseWheelSpecifies if the editor always responds to mouse wheel rotation.
EditFormat | DisplayFormat | UseDisplayFormatWhenEditingSpecify text format patterns in different editor states.HideSelectionAllows you to hide text selection.Nullable | Nullstring | UseNullStringAllow you to specify display text for the Null Variant edit value.
DecimalPlacesSpecifies the number of decimal places in a value.MaxLengthLimits the length of an input string.MaxValue | MinValueLimit the range of valid numeric values.
BeepOnErrorAllows you to play the standard system sound when a validation error occurs.ErrorIcon | ValidationErrorIconAlignmentSpecify and position an error icon.ValidateDisplayValue | ValidateOnEnter | OnValidate | IsEditValueValidAllow you to validate user input.ValidationOptionsSpecifies validation option flags.
AssignedValues | RestoreDefaultsAllow you to track the state of individual editor-specific settings and reset them.BeginUpdate | EndUpdate | LockUpdate | DoUpdate | Update | Changed | ChangedLocked | DataChangedAllow you to manage editor updates and avoid excessive redraw operations during batch editor setting changes.GetButtonsClass | GetContainerClass | GetStyleClass | GetViewInfoClassReturn editor property value types.
Do not use the TcxCustomCurrencyEditProperties class directly. Use the TcxCurrencyEditProperties class instead.
TObject TPersistent TInterfacedPersistent TcxInterfacedPersistent TcxCustomEditProperties TcxCustomTextEditProperties TcxCustomCurrencyEditProperties
See Also
TcxCustomCurrencyEdit.ActiveProperties Property
TcxCustomCurrencyEdit.Properties Property