I want to make a program that recognizes each key I press, for example, if I press a Space bar, an image appears, if I press ENTER, an audio appears. I already have the detector but I can't do the rest. Can someone help me?
Announcement
Collapse
No announcement yet.
How to place actions on the computer keyboard?
Collapse
X
-
Originally posted by Vanderlei Mendes View PostI want to make a program that recognizes each key I press, for example, if I press a Space bar, an image appears, if I press ENTER, an audio appears. I already have the detector but I can't do the rest. Can someone help me?
key.rar
code is in On key
-
-
-
The elements or objects that adopt this variable
On Key
This event is available for the input object, listbox object, combobox object, tree object, richtext object and each page or dialog in your project.
On the input object, these are the actions that will be performed whenever the cursor is inside the input object and the user presses a key.
On the listbox object, these are the actions that will be performed whenever the listbox object has focus and the user presses a key.
On the combobox object, these are the actions that will be performed whenever the combobox object has focus and the user presses a key.
On the tree object, these are the actions that will be performed whenever the combobox object has focus and the user presses a key.
On the richtext object, these are the actions that will be performed whenever the richtext object has focus and the user presses a key.
On a page, these are the actions that will be performed whenever the application window has focus and the user presses a key.
On a dialog, these are the actions that will be performed whenever the dialog window has focus and the user presses a key.
The following event variables are automatically set whenever this event is triggered:
https://www.indigorose.com/webhelp/a..._Key_Codes.htm
Comment
-
-
Originally posted by igliigli View Postanother example
press a key
a message tell you his name and e_key
[ATTACH]n305257[/ATTACH]
Your igliigli tip helped me a lot, and for me to type words with the program running how do I do? I already know how to put images on the key I want, and for me to put the letters even in real time? can you help me?
Comment
-
-
Comment