Solved

test if the shift key is currently being pressed.

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
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 utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

803 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