Pregunta

How can I create a GUI element like the one of type "Input" that would register current keyboard keystroke, but I'm not talking about any letter or number, but rather special buttons like CTRL, TAB or Enter?

¿Fue útil?

Solución

As far as i know there is no special GUI element handling that. There are some "workarounds" like

  1. When something gets written check if CTRL (or anything else) is pressed

    _IsPressed()

  2. Catch if you press CTRL with Hotkey and then make a Funktion to insert it into the Input

    HotKeySet({CTRL},_insertCTRL);

Does one of these work for you?

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top