Touchscreen and ITextControl problem. | developer.brewmp.com Touchscreen and ITextControl problem. | developer.brewmp.com

Developer

Touchscreen and ITextControl problem.

Forums:

Hi,
I am able to able to launch BREW soft keypad [SKP] when I click on the ITextControl on the device. I am working on LGVX9700. Till this its fine.

The issue is if my text control is empty and then if I launch keypad, type something and on pressing 'Done' on the softkeypad the values are not reflected back to my ITextControl.

The workaround to this was I initialise my text control to contain atleast a 'blank space' . Then if I launch SKP, a space is there on SKP and if I type something, the text has one leading space(if I don't remove from SKP) then atleast the text is reflected back to my ITextControl.

Is this a BREW issue? :confused:

Please let me know a better solution to this as now always I have to remove leading space from the text control data.

Thanks
Sam

Hi,
I would be grateful if anyone from BREW support reply on this.
Thanks
Sam

Hi,
I would be grateful if anyone from BREW support reply on this.
Thanks
Sam

Hello ,
YOu need to first get text in Some buffer by using
ITEXTCTL_GetText() & then set text in text control by using ITEXTCTL_SetText()
all this you need to handle in EVT_APP_RESUME.
Hope this would help you.

Hello ,
YOu need to first get text in Some buffer by using
ITEXTCTL_GetText() & then set text in text control by using ITEXTCTL_SetText()
all this you need to handle in EVT_APP_RESUME.
Hope this would help you.