Last post Mar 01, 2012 03:19 AM by chetan.sarode
Feb 29, 2012 12:41 PM|norkk|LINK
I have one screen with 2 buttons(Async, Sync), some labels, and 1 texbox.
My async button function do 3 steps, doasync1,2 and 3. each step have one sleep at 2 seconds, and after fill one label 'task 1 complete,2,3' etc.
In my logic, when i will press the Async button, the user should continue do what he wants, without any problem, but i face one problem.
For example, if he wants to fill some textbox on this screen, while the async request still running, my textbox will lost focus in every time that async function fill a label with task completed.
How can i solve that? if is not possible, that is a better way to do that?
Feb 29, 2012 12:50 PM|Sum8|LINK
Try setting focus again on the TextBox after async function fills the label.
Feb 29, 2012 12:56 PM|norkk|LINK
That was my first idea, but after i tought, if the user wants to fill some form, with a lot of fields, he doesnt get, for example, his name is "Teste ada tes ago", he will wrote teste, and lost focus, write ada, and lost focus, thats is not viable.
Mar 01, 2012 03:19 AM|chetan.sarode|LINK
Hi, Please refer this