Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
Grid select change queue
posted

Hi,

 

Im having some difficulties to disable the grid while the select change event is handling. I have a function that loads the data to the form on AfterSelectChange event. Now the loading takes some time and im trying to disable the grid so that no other row can be selected with in this loading time.

I've tried to set Grid.EventManager.AllEventsEnabled = False and also basic enabled = false on the start of the event and "releasing" the grid on the end of the event but the form seems to queue the clicks. So if im fast enough i can create a click queue and just watch it change rows after im done clicking.

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hm, that's odd. I can't see why there would be any queing of clicks going on there. The grid certainly has no control over that, though. If that's happening, then something in Windows is queing up the messages.

Children
No Data