Solved

test if the shift key is currently being pressed.

Posted on 2015-02-15
2
154 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

679 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