Toggle Keys

326 views
Skip to first unread message

Bob H

unread,
May 30, 2017, 8:51:44 AM5/30/17
to multisoft FlagShip
Is there a way to toggle the Scroll Lock key on and off through flagship's programming language.  Would be useful for Caps Lock and Num Lock keys as well.

Paul

unread,
Jun 1, 2017, 4:05:25 AM6/1/17
to multisoft...@googlegroups.com
As opposite to usual keyboard keys like alpha, numeric, cursor and FN, there is no way to emulate pressing of these special buttons CapsLock, ScrollLock and NumLock, but you can advise the user to press the corresponding key. You can get the status of these keys by InkeyStatus(STATUS_SCROLL) etc. see the manual section FUN and examples/keyboard.prg
Reply all
Reply to author
Forward
0 new messages