Menu

How to show virtual keyboard

Kaarigar
2013-09-12
2013-09-14
  • Kaarigar

    Kaarigar - 2013-09-12

    I want to show virtual keyboard and receive input from it when user clicks button and receive a single key press on the keyboard. Basically I want the button text to be replaced by the key pressed by the user. Probably I can do it by having a Text edit field as a child of a button. But is there a way to do it without having a text field?

     
  • Tyson Stephen

    Tyson Stephen - 2013-09-13

    Kaarigar,

    See attached demo. Not sure its exactly what you want. If you want to capture individual key inputs the UIKeyInput would have to be implemented on the textfield, similar to onkeypress of a TEdit.

     
  • Kaarigar

    Kaarigar - 2013-09-14

    Thanks for the demo, Tyson. Yes, I want to capture individual keystrokes without needing to press Return or Done button on the virtual keyboard - I will see how to implement UIKeyInput.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.