OnValidateError has may be more functional in TsCalcEdit

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #69136
    HeDiBo
    Participant

    Normally masks for TsCalcEdit do not cause an OnValidateError (edits follow the mask automatically). But there is a situation in Ts(DB)CalcEdit where there is use for OnValidateError: the entered value exceeds the MaxValue/MinValue values. I would like a validate error event if this is true (it should be accompanied with an InhibitAutoMaxMin property, suppressing the automatic value change to Min or Max).
    As it is now, the automatic change to max / min will escape the user’s attention to typing errors.

    #69143
    Support
    Keymaster

    Thank you for suggestion, this property will be added in the nearest release.
    The InhibitAutoMaxMin name is Ok? or maybe name it as AutoValueCorrect or something other?

    #69154
    HeDiBo
    Participant

    AutoValueCorrect is fine. Default must be True then.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘OnValidateError has may be more functional in TsCalcEdit’ is closed to new replies.