TsDBCalcEdit not reflecting fields value!!

Viewing 4 posts - 21 through 24 (of 24 total)
  • Author
    Posts
  • #69735
    Support
    Keymaster

      I’m not mad :D, just trying to find a best solution for this situation.
      Now, I have added checking of the dsInsert state and CheckValue is runned in the OnExit if DataSource.State is dsInsert. I hope, this way will be handy for developers.

      #69736
      HeDiBo
      Participant

        Change that in DataSource.State <> dsBrowse, that catches the edits too.

        #69737
        Support
        Keymaster

          Which purpose of the Modified property in this case?
          This property will be unused.

          #69740
          HeDiBo
          Participant

            Have a look at the GIF.
            The value in Min/Max is 1000 – 20000. The first time the user tries to change the value to 400 the OnValidateError is thrown. The dataset stays in dsEdit mode. Then the user tabs out of the edit field: no OnValidateError any more.

            Attachments:
            You must be logged in to view attached files.
          Viewing 4 posts - 21 through 24 (of 24 total)
          • You must be logged in to reply to this topic.