KeyboardInput() - like #PB_EventType_Input in the canvas

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
STARGÅTE
Addict
Addict
Posts: 2227
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

KeyboardInput() - like #PB_EventType_Input in the canvas

Post by STARGÅTE »

I wish a function that returns (like in the canvas gadget) the é character by typing ´ and e.
And return a character repeatedly, if the key is pushed longer (like in the canvas gadget).

(I need it for a string gadget in a full screen)
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module