Using Right click

  • Thread starter Thread starter Roy Goldhammer
  • Start date Start date
R

Roy Goldhammer

Hello there

I have continues form bound to query

when i press left click on one of the pages the current record is selected

However when i press the right click on the page the record isn't being
selected

Is there a way to choose the record when pressing right click?
 
Right click is conventionally used to pop-up an action menu. It is not good
practice to change these basic conventions. That will just confuse your
users, when they use other programs that follow the standard conventions.

If the person is left-handed, & needs to use the mouse "around the other
way", there is a Windows option for this somewhere; maybe in control panel?

HTH,
TC
 
Well TC

I need the right click for opening popup menu.

But i need in the same way that when i press the right click on form detail
the form detail will be choose as same as the left click

IS there a way to do this?
 
Roy, I'm not sure that I fully understand what you want. But, you can code
the MouseDown & Click events of the form detail section. MpouseDown can trap
(in global variables) the state of the Ctrl, Alt & Shift keys, and which
button was pressed (left or right). Click, Mouseup or whatever can do
whatever it likes with those values. I don't have Access here to cherck, & I
don't quite remember which parameters apply to which event. But I'm sure you
can use the detail section MouseDown & Click events to detect the
right-click.

HTH,
TC
 
Back
Top