PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Sendkey (CAPSLOCK)
Sendkey (CAPSLOCK)
Iniciado por David, 08,jun. 2004 13:16 - 1 respuesta
Publicado el 08,junio 2004 - 13:16
Hello...
I'm trying to create a simple keyboard and i need to turn on and off the
CAPSLOCK but i don't know how. To the other keys the SENDKEY function works
fine but with CAPSLOCK AND SCROLLLOCK it doesn't work. Does anyone know how
to pull this out?
Publicado el 08,junio 2004 - 14:35
David,
the only way i found to do this is in the code of every button to send diferent
values if the user press the caps button like this :

IF CAPS_PRESSED THEN
SendKey("A")
ELSE
SendKey("a")
END

In the CAPS button :
CAPS_PRESSED = NOT CAPS_PRESSED


"David" <david@mail.s2l.pt> wrote:


Hello...
I'm trying to create a simple keyboard and i need to turn on and off the
CAPSLOCK but i don't know how. To the other keys the SENDKEY function works
fine but with CAPSLOCK AND SCROLLLOCK it doesn't work. Does anyone know

how
to pull this out?