Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Restores the CapasLock key state
#7
a bit complicated, I use CapsLock trigger in many other programs
no other way to check if the capsLock light is on? I just want the caps light to go out
Using the method below, it also no effect
ifk(K 1) key K
ifk(K) key- K

I use the following code to quickly add single or double quotes to the text inside the edit box
only one small problem, Unable to turn off CapsLock Undecided

    case 401 ;;CapsLock
    key ESH
    _s.getsel
    _s.trim
    if !_s.beg("'") and !_s.beg("''")
        _s=F"'{_s}'"
        _s.setsel
    else if _s.beg("'")
        _s.findreplace("'" "''")
        _s.setsel
    else if _s.beg("''")
        _s.findreplace("''" "")
        _s.setsel
    key K ;;CapsLock turn off


Messages In This Thread
Restores the CapasLock key state - by Davider - 09-03-2022, 10:50 PM
RE: Restores the CapasLock key state - by Davider - 09-04-2022, 05:17 AM
RE: Restores the CapasLock key state - by Davider - 09-04-2022, 05:42 AM
RE: Restores the CapasLock key state - by Davider - 09-04-2022, 08:55 AM
RE: Restores the CapasLock key state - by Davider - 09-04-2022, 10:40 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)