James Barash
James at fcidms.com
Fri Feb 6 15:57:32 CST 2004
You want to use the MouseDown event. That has a Shift parameter which gives the state of the Ctrl, Alt and Shift keys. I don't remember the values of each but with a little experimentation if should be easy to detect the appropriate value for the Shift key. James Barash -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Friday, February 06, 2004 4:35 PM To: accessd at databaseadvisors.com Subject: [AccessD] Capturing SHIFT+Click? 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