Porting over code from a Tinker desktop application. To improve the user experience I am used to populating input field values with those last entered at last runtime. Something that was part of the Palm programming standard, using preferences. So I think I need to understand how to 'see' a Textfield and set the text value with
Forum Archive
Pre fill Textfield
swoiwode
Nov 24, 2015 - 17:09
JonB
Nov 24, 2015 - 17:32
Are you creating your ui's programatically, or with ui editor?
If using the editor, you would do
v=load_view('myview')
v['textfield1'].text = sometext
where textfield1 is replaced with whatever you named your textfield. If you have multiple layers of views, you will need to address each level, e.g.
v['textframe']['textfield1']