Change the setFocus() call to be triggered by the alert "close" event rather 
than being called along with the Alert.show.

Ben Marchbanks

::: alQemy ::: transforming information into intelligence
http://www.alQemy.com

::: magazooms ::: digital magazines
http://www.magazooms.com

Greenville, SC
864.284.9918

candysmate wrote:
> 
> 
> My application contains a series of textInputs.
> 
> If my user clicks on a textInput, which is out of the intended
> application-flow sequence, an Alert pops up.
> 
> The function which triggers the alert also sets focus to the correct
> textInput. However, when the user closes the alert, the focus jumps
> back to the (incorrect) textInput which triggered the alert.
> 
> Hoe can I prevent this please?
> 
> 

-- 
Ben Marchbanks

::: alQemy ::: transforming information into intelligence
http://www.alQemy.com

::: magazooms ::: digital magazines
http://www.magazooms.com

Greenville, SC
864.284.9918

Reply via email to