` Keystates (Guy Cauwenbergh) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

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 April 23, 2024, 6:20 pm
This article has been viewed 35117 times.
Google search has resulted in one hit on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: