Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
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, 6:46 am This article has been viewed 35217 times. Google search has resulted in one hit on this article since January 25, 2004.
|
|