Key up and down events for StringGadget / EditorGadget

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Key up and down events for StringGadget / EditorGadget

Post by Dude »

I'd like to know when the user is typing in a StringGadget or EditorGadget, so I can update stats in real-time as they type. At the moment we can only test for #PB_EventType_Change, which doesn't help because my app also updates those gadgets automatically at times.

I need to know when the user himself does the typing, so #PB_EventType_KeyDown would be very useful for this.

This is similar to my request here: http://www.purebasic.fr/english/viewtop ... =3&t=70006