Continuous Subform Mouse Event

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've a list of records displayed on a continous subform.
How could I display another form by issuing a right mouse click on a
specific record?
 
You can trap the MouseDown event and look at the value of the Button
variable which will be 1 for a left click and 2 for a right click and then
take whatever action you want. But...

....it's a mess...

You have the fun of telling the difference between clicks on the background
of the detail section, and clicks on controls within that section. You
might be able to get away with an invisible button per row over all the
other controls.

You'll need to switch off the shortcut menu.

It's not visible to the user.

Why not just add a button to do it? Easier, cleaner and more user friendly.
 
Thanks Rob for your information.

May I ask why "switch off the shortcut menu"?
What does it do in relation to implementing an invisible button?

Kind Regards
Charles
 
Back
Top