Solved

test if the shift key is currently being pressed.

Posted on 2015-02-15
2
147 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

705 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now