Topic: On MouseDown Event
Hi Dmitry,
I am trying to achieve the following in a small application.
1. The user clicks and holds down the mouse button. This executes an sql call and puts the result into a memo field which is then made visible and pops up on screen.
2. When the user releases the mouse button, the memo field is cleared and hidden.
3. I am doing this with 'on mouse down' and 'on mouse up' events.
It works well as a concept and is quick and easy for the user.
However, when you perform this on a different row in the tablegrid, the information in the memo field is for the previously selected record - so you have to first click on the row you are interested in to give that row focus AND THEN click and hold down the mouse - TWO separate actions.
Is there anyway by script that you can perform this as ONE action - click and hold down the mouse button and the row is given focus AND the sql call is executed?
I hope I've explained this clearly.
Thanks,
Derek.