`
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 November 21, 2024, 12:10 pm This article has been viewed/printed 35218 times. Google search has resulted in one hit on this article since January 25, 2004. |