Hi everybody,
I've got a datawindow within a "main" window.
Then, I've got another window inherited from the first one ("detail window).
The datawindow in "main window" has a "clicked event" which shall open a "response window" with a message and a button "OK" which closes this response window.
In my application, I open a "detail window".
The trouble is, one time out of two, clicking on the OK button won't work. I put the pointer over the button, click, and then nothing happens. I have to click twice for the clicking to be considered and the window to close.
I tried to use a messagebox instead of my response window. The OK button worked all right, but I still encountered a problem on my next click on the datawindow. One time out of two, clicking did NOT trigger the clicked event, though it did something since the line I clicked on became highlighted. I also noticed that before clicking, I could slide the mouse pointer over a zone where it should change without it actually changing. Last of all, if I tried to scroll my datawindow down, it did not work, but instead it selected the rows of my datawindow which were behind the scroll bar, as if the scroll bar didn't exist at all and I was clicking in the datawindow.
(These problems also occur with the response window, but I cannot manage to find the pattern behind them)
Does anyone know where this problem may come from, and how to solve it?
Thanks for your help.
I've got a datawindow within a "main" window.
Then, I've got another window inherited from the first one ("detail window).
The datawindow in "main window" has a "clicked event" which shall open a "response window" with a message and a button "OK" which closes this response window.
In my application, I open a "detail window".
The trouble is, one time out of two, clicking on the OK button won't work. I put the pointer over the button, click, and then nothing happens. I have to click twice for the clicking to be considered and the window to close.
I tried to use a messagebox instead of my response window. The OK button worked all right, but I still encountered a problem on my next click on the datawindow. One time out of two, clicking did NOT trigger the clicked event, though it did something since the line I clicked on became highlighted. I also noticed that before clicking, I could slide the mouse pointer over a zone where it should change without it actually changing. Last of all, if I tried to scroll my datawindow down, it did not work, but instead it selected the rows of my datawindow which were behind the scroll bar, as if the scroll bar didn't exist at all and I was clicking in the datawindow.
(These problems also occur with the response window, but I cannot manage to find the pattern behind them)
Does anyone know where this problem may come from, and how to solve it?
Thanks for your help.