E emaster Member Licensed User Dec 4, 2007 #1 I capture when a user makes a change to a textbox text. The keypress event does not pick up the detele key press. Is there a way around this?
I capture when a user makes a change to a textbox text. The keypress event does not pick up the detele key press. Is there a way around this?
R Rioven Active Member Licensed User Longtime User Dec 4, 2007 #2 emaster said: I capture when a user makes a change to a textbox text. The keypress event does not pick up the detele key press. Is there a way around this? Click to expand... Hi emaster, Do you have delete button on your device? I have only backspace. One workaround on detecting text change on textbox is to record old text once the textbox got focus then compare new text after textbox lost focus. Regards,
emaster said: I capture when a user makes a change to a textbox text. The keypress event does not pick up the detele key press. Is there a way around this? Click to expand... Hi emaster, Do you have delete button on your device? I have only backspace. One workaround on detecting text change on textbox is to record old text once the textbox got focus then compare new text after textbox lost focus. Regards,
Erel B4X founder Staff member Licensed User Longtime User Dec 4, 2007 #3 You could also use agraham's ControlsEvents library and capture the TextChanged event. http://www.b4x.com/forum/showthread.php?t=934
You could also use agraham's ControlsEvents library and capture the TextChanged event. http://www.b4x.com/forum/showthread.php?t=934