Solved

test if the shift key is currently being pressed.

Posted on 2015-02-15
2
153 Views
Last Modified: 2016-02-11
I am using Microsoft Access 2013 in 64 bit mode.

I have  code that is triggered by a click event. I would like that code to know if the shift key is currently being pressed. I have seen code for 32 bit  systems.  

The 64 bit version seems more elusive.
0
Comment
Question by:peispud
2 Comments
 
LVL 29

Accepted Solution

by:
IrogSinta earned 500 total points
ID: 40611254
It's the same for 32 or 64 bit.  To test for the Shift key, use the OnMouseUp or OnKeyUp event.  Shift is one of the parameters for this event and will return a 1 or True if the shift key is pressed.

Ron
0
 

Author Closing Comment

by:peispud
ID: 40611298
Thank you.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question