Hi all,

Is there any changing event for TabNavigator container? The reason being...
I have THREE tabs in TabNavigator and whenever user enter/change data on
individual tab and try to navigate to another tab without clicking save
button I required to display an confirmation alter and based on the response
my code should perform action accordingly. What is happening is by the time
alert displayed on the screen the tab already changed because, I think, the
event I am tapping is "change". Now comes my question, can I trap any event
before "change" event can occur so that I can display confirmation alert and
act accordingly. If user choose to cancel I should keep the user on the same
tab from where user is trying to navigate to other tab - How can I achieve
this? By assigning selectedIndex = prevTabIndex? I think this again will
cause chain of events fire. I need expertise help/guidance here.

 I am attaching my mxml file your ref. Thanks in advance for the help.

                         <<tabNivigation.mxml>> 

Thanks!
Hari



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Attachment: tabNivigation.mxml
Description: Binary data

Reply via email to