`
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
Printed October 25, 2026, 5:45 am This article has been viewed/printed 36269 times. Google search has resulted in one hit on this article since January 25, 2004. |