PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Sendkey (CAPSLOCK)
Sendkey (CAPSLOCK)
Started by David, Jun., 08 2004 1:16 PM - 1 reply
Connect yourself…
David
#1
Posted on June, 08 2004 - 1:16 PM
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?
Report
0
0
paulo olivira
#2
Posted on June, 08 2004 - 2:35 PM
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?
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text