PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Trapping Keystrokes
Trapping Keystrokes
Started by Rich Scheuermann, Sep., 05 2005 1:40 AM - 3 replies
Connect yourself…
Rich Scheuermann
#1
Posted on September, 05 2005 - 1:40 AM
I need to trap keystrokes in an edit control.
I am new to WinDev and could not find anything helpful in the doucmentation.
Thanks
Report
0
0
Chris L
#2
Posted on September, 05 2005 - 2:51 AM
I need to trap keystrokes in an edit control.
I am new to WinDev and could not find anything helpful in the doucmentation.
Thanks
Art covers it comprehensively in his answer. Just go the code for the edit control and plonk your code in the "Whenever modified" section. I have found this useful for all sorts of situations where I want to trap every keystroke in an edit control. If it's not a one-off, ie you want to do something similar for a number of edit controls, just call a procedure in the "Whenever modified" section.
Cheers
Chris L
Melbourne, Oz
Report
0
0
Michel HERRSCHER
#3
Posted on September, 05 2005 - 11:12 AM
Dans un message Rich Scheuermann disait :
I need to trap keystrokes in an edit control.
I am new to WinDev and could not find anything helpful in the
doucmentation. Thanks
Not sure to understand the request as it is very large
For Edit Controls : use "a chaque modification" code. Your code will be
executed at every keystroke for that field. Just understand that the control
will contain all typed chars even the last one.
if needed, For other cases use shortcuts of buttons or windows events
HTH
--
Michel HERRSCHER CONSULTANT
Président WINDASSO - Association des utilisateurs WxxDEV(c)
Tel : +33450870912 Fax:+33450871741
http://www.windasso.org
Report
0
0
Raimund Schuldhaus
#4
Posted on September, 05 2005 - 4:09 PM
Hello Rich,
you can also use EVENT together with WM_CHAR.
Raimund
I need to trap keystrokes in an edit control.
I am new to WinDev and could not find anything helpful in the doucmentation.
Thanks
http://www.invitec.com
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