Ability to filter StringGadget and detect Return\Enter
Posted: Sun Mar 04, 2018 12:25 pm
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.
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.