Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
Clarion in general: Keystates 2004-05-04 -- Guy Cauwenbergh Newsgroups: softvelocity.clarion.language
> How can I detect that the Caps-Lock key is pressed when the user enters
into
> a particular field?
If Band(KeyState(),2000h)
! NumLock is on
Else
! NumLock is off
End
If Band(KeyState(),1000h)
! CapsLock is on
Else
! CapsLock is off
End
If Band(KeyState(),4000h)
! ScrollLock is on
Else
! ScrollLock is off
End
You can check that in the selected event of the field.
HTH
Guy
Today is November 21, 2024, 3:33 am This article has been viewed 35216 times. Google search has resulted in one hit on this article since January 25, 2004.
|
|