Continuous Subform Mouse Event

C

Charles Tam

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?
 
R

Rob Oldfield

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.
 
C

Charles Tam

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top