RE: how to get Shift key status
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
Sorry, above posting is incorrect. Only returns true if Shift is only modifier key pressed, and
dim shiftPressed as Boolean = cBool(Control.ModifierKeys = Keys.Shift)
is simpler.
From http://developmentnow.com/g/38_2005_10_0_0_628353/how-to-get-Shift-key-status.htm
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
.
Relevant Pages
- Re: how do i disable CTRL+< and CTRL+>
... >> Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer) ... >> Dim fShift As Boolean ... >> Dim fCtl As Boolean ... (microsoft.public.access.forms) - Re: Either engage me with purpose or stop stalking me.
... You have less than no concept of any form of logic or reasoning processes. ... Everyone wants you to stop posting here. ... You make an incorrect conclusion from that. ... (sci.physics) - Re: Can we customize font size so at Doc. open its a different siz
... No one feels the need to attack anyone who posts an incorrect ... in this group, first and foremost me, who recognize Mr. Daniels' unbridled ... anyone who posts an incorrect answer, ... his opinions and assumptions about how Word works before posting ... (microsoft.public.word.docmanagement) - Re: how do i disable CTRL+< and CTRL+>
... so asked some of the other MVPs. ... > Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer) ... > Dim fShift As Boolean ... > Dim fCtl As Boolean ... (microsoft.public.access.forms) - OT Re: SelectedIndexChanged event and the list view control.
... >> on the keydown of the listbox check the shift ... >> in your selectedindexchanged only do your code if the boolean is true ... >> keep in mind if you manually fill large listboxes and combos set the ... (microsoft.public.dotnet.languages.vb) |
|