TsDBGrid OnScrollData event not always called

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #56139
    HeDiBo
    Participant

      No change in AC 11.25 huh.gif

      #56154
      Support
      Keymaster

        Hello, Dick

        I'm sorry, I have no idea how to catch this event.

        There are no system messages sent and I can't override any procedures like “NewRowAdded” or “RowDeleted”…

        Easiest way will be using of the standard DataSet.OnAfterInsert event, I think.

        #56156
        HeDiBo
        Participant
          'Support' wrote:

          Hello, Dick

          I'm sorry, I have no idea how to catch this event.

          There are no system messages sent and I can't override any procedures like “NewRowAdded” or “RowDeleted”…

          Easiest way will be using of the standard DataSet.OnAfterInsert event, I think.

          I'm not sure what you hoped to accomplish with this added event.

          If I press the “First record” button or the “Last record” button, the event does not fire either. What good is it then?

          Wouldn't it be better to remove this obviously inadequate event all together?

          It would have saved me from testing why things didn't work the way I expected.

          #56158
          Support
          Keymaster

            Sorry, this event has been requested by users some years ago for catching of a grid scrolling by vertical ScrollBar, I can't just remove it.

            If you need to catch all changes of the active record, you can use standard way, I think, by using of DataSet.OnBeforeScroll or OnAfterScroll events..

            #56159
            HeDiBo
            Participant
              'Support' wrote:

              Sorry, this event has been requested by users some years ago for catching of a grid scrolling by vertical ScrollBar, I can't just remove it.

              Could you please document that in the source? wacko.gif

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.