Hello,
I have a form with a subform in datasheet mode. I would like to perform an action when the user clicks on the row-selector/row-header column (see screenshot). I am currently using the form's onClick action, but that has the annoying property of getting triggered when I click on a column header to access the sort menu. Is there anyway to capture the click event only when it is on the row header? I also tried using onCurrent, but that gets fired several times as the form loads.
One bonus question: I want a different behavior for single click vs double click. It seems that a double click first calls the single click listener and then the double click listener, so right now my double click listener basically undoes the single click's action. Is there a better way to do this?
Thanks,
-Eric
Windows XP
Access 2007
I have a form with a subform in datasheet mode. I would like to perform an action when the user clicks on the row-selector/row-header column (see screenshot). I am currently using the form's onClick action, but that has the annoying property of getting triggered when I click on a column header to access the sort menu. Is there anyway to capture the click event only when it is on the row header? I also tried using onCurrent, but that gets fired several times as the form loads.
One bonus question: I want a different behavior for single click vs double click. It seems that a double click first calls the single click listener and then the double click listener, so right now my double click listener basically undoes the single click's action. Is there a better way to do this?
Thanks,
-Eric
Windows XP
Access 2007
Attachments
Last edited: