Announcement

Collapse
No announcement yet.

How to place actions on the computer keyboard?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to place actions on the computer keyboard?


    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?

  • #2
    Originally posted by Vanderlei Mendes View Post
    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?
    for exemple
    key.rar

    code is in On key

    Comment


    • #3
      regards in help (Virtual Key Codes)

      Comment


      • #4
        another example
        press a key
        a message tell you his name and e_key
        Key_Codes.apz

        Comment


        • #5
          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


          • #6
            Originally posted by igliigli View Post
            another 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


            • #7
              test this

              Keyboard_Map.apz

              Comment

              Working...
              X
              😀
              🥰
              🤢
              😎
              😡
              👍
              👎