[AccessD] Capturing SHIFT+Click?

Lonnie Johnson prodevmg at yahoo.com
Fri Feb 6 15:46:07 CST 2004


The first thing that comes to mind for me is to have a boolean in the module of your form. On the "Key Down" event of the form check to see if it is the shift key, then set the boolean to True. Then when you click the mouse you can check to see if the boolean is true and run your code. When the user lets go of the shift (On Key Up) set the boolean back to False.
 
Just a thought.

Christopher Hawkins <clh at christopherhawkins.com> wrote:
All,

I'm doing a project in which I need to fire an event when a user
shift+clicks on a control. I understandhow to use the keypress
event, but I'm not sure it's right for this. I'm thinking that there
must be a way to be in the Click event and check to see if the SHIFT
key is down. But my Google-Fu and Help searches turns up nothing. 
I'm probably using weird keywords.

This is another one of those annoying things that I'm sure I've done
in the past (1998 or so), but for the life of me I just can't
remember.

Anyway...help?

-C-


_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com


Lonnie Johnson
ProDev, Professional Development of MS Access Databases
Visit me at ==> http://www.prodev.us




 




---------------------------------
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online


More information about the AccessD mailing list