stefanobusetto Active Member Licensed User Longtime User May 9, 2012 #1 I need to create custom input methods for particular kind of data. So i want to create a wrapper for a textview and attach an onclicklistener to it. The listener creates an activity to perform the edit, selection or whatever. When i finish the activity i need to set the value of the wrapped component. Is there something like a register a callback function in the wrapped component? Thanks
I need to create custom input methods for particular kind of data. So i want to create a wrapper for a textview and attach an onclicklistener to it. The listener creates an activity to perform the edit, selection or whatever. When i finish the activity i need to set the value of the wrapped component. Is there something like a register a callback function in the wrapped component? Thanks
Erel B4X founder Staff member Licensed User Longtime User May 9, 2012 #2 Have you checked the IME library? It lets you define the set of allowed characters. It is usually a bad idea to apply a sophisticated filter when during the user input.
Have you checked the IME library? It lets you define the set of allowed characters. It is usually a bad idea to apply a sophisticated filter when during the user input.
stefanobusetto Active Member Licensed User Longtime User May 9, 2012 #3 Thanks for the ultra fast response I didn't explain well. I need to select a value from a database table. So i query the table, display the data and allow the selection. Or I need to select a date So i display the date dialog ...
Thanks for the ultra fast response I didn't explain well. I need to select a value from a database table. So i query the table, display the data and allow the selection. Or I need to select a date So i display the date dialog ...
Erel B4X founder Staff member Licensed User Longtime User May 9, 2012 #4 Do you want to handle the Click event? It is possible. Although it is not listed in the events you can write: Sub EditText1_Click and it will work.
Do you want to handle the Click event? It is possible. Although it is not listed in the events you can write: Sub EditText1_Click and it will work.
stefanobusetto Active Member Licensed User Longtime User May 9, 2012 #5 Thanks may be i've figured it out.