It would be great if we could filter the input of a StringGadget and EditorGadget to only permit certain characters. BlitzMax allows this...you can return 0 from the event to forbid the change.
I would also find it very useful to be able to detect Return/Enter. This would be useful in a properties control where the property is to be updated when the user has finished making their change. I know you can do this with AddKeyboardShortcut, but this isn't convenient with dynamically created gadgets.
Ability to filter StringGadget and detect Return\Enter
-
- User
- Posts: 14
- Joined: Sat May 23, 2015 3:12 am
- Location: The other Georgia
Re: Ability to filter StringGadget and detect Return\Enter
+1 And a native (OS Independent) vertical centering of the text
Re: Ability to filter StringGadget and detect Return\Enter
+1 as I want to port all my Blitzmax (MaxGUI) applications to Purebasic - which make extensive use of gadget-filtering to control user input.