User Tools

Site Tools


api:dk11:delphi:vcl.gisvaluevalidatorhelper.tgis_valuevalidatorcomboboxhelper

TGIS_ValueValidatorComboBoxHelper class

DK for Delphi | VCL.GisValueValidatorHelper.TGIS_ValueValidatorComboBoxHelper | Classes | Constructors | Methods | Properties

Helper for TComboBox controls that validates editable numeric values.

Available also on: Delphi FMX.

Syntax

// Delphi
type
  TGIS_ValueValidatorComboBoxHelper = class( TGIS_ValueValidatorEditableControlHelper )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_ValueValidatorComboBoxHelper : public TGIS_ValueValidatorEditableControlHelper
{
};

Inheritance

Constructors

Inherited Overrides Protected
Name Visibility Description
Create public Creates a validator helper for an editable TComboBox control.

Methods

Inherited Overrides Protected
Name Visibility Description
acceptKey protected Checks whether a pressed key is accepted for numeric text entry.
(Inherited from TGIS_ValueValidator)
doChange protected Handles text changes and updates numeric value validation state.
(Inherited from TGIS_ValueValidatorEditableControlHelper)
doChangeValue protected Revalidates the current value after it changes.
(Inherited from TGIS_ValueValidator)
doKeyPress protected Handles key input and allows only characters accepted for numeric value entry.
(Inherited from TGIS_ValueValidatorEditableControlHelper)
getText protected Gets the current text representation of the validated numeric value.
(Overrides TGIS_ValueValidatorEditableControlHelper.getText)
invalidate protected
(Inherited from TGIS_ValueValidatorEditableControlHelper)
prepareValue protected Formats a numeric value as validator text using the current precision settings.
(Inherited from TGIS_ValueValidator)
setFontColor protected Sets the font color used to indicate the current validation state.
(Overrides TGIS_ValueValidatorEditableControlHelper.setFontColor)
setText protected Sets the validator text and updates the internal numeric value.
(Overrides TGIS_ValueValidatorEditableControlHelper.setText)
Valid public Checks whether the current value is within the MinVal..MaxVal range.
(Inherited from TGIS_ValueValidator)
(Implements IGIS_ValueValidator.Valid)

Properties

Inherited Protected
Name Visibility Description
MaxVal public Maximum allowed numeric value.
(Inherited from TGIS_ValueValidator)
(Implements IGIS_ValueValidator.MaxVal)
MinVal public Minimum allowed numeric value.
(Inherited from TGIS_ValueValidator)
(Implements IGIS_ValueValidator.MinVal)
Precision public Number of decimal digits used when formatting and validating the value.
(Inherited from TGIS_ValueValidator)
(Implements IGIS_ValueValidator.Precision)
Value public Current numeric value represented by the editable control.
(Inherited from TGIS_ValueValidator)
(Implements IGIS_ValueValidator.Value)

2026/07/11 00:51

Page Tools