Re: [flexcoders] How to prevent tab change

2008-04-28 Thread shrikant.patil
I Think you can do this by using tabControl.selectedIndex property each time when tab index get changed . you can check and test the conditions,. :) Subhadeep Chatterjee wrote: Hi, I need to prevent a tab from being changed when user changes tab. This is a typical form

[flexcoders] How to prevent tab change

2008-04-27 Thread deepcworld
I need to prevent a tab from being changed when user changes tab. This is a typical form dirtiness check use case. 1. User changes form in tab A. 2. User clicks tab B without saving tab B. 3. User remains in tab A and a confirmation dialogue pops up with save or cancel option. 4. Either option

[flexcoders] How to prevent tab change

2008-04-27 Thread Subhadeep Chatterjee
Hi, I need to prevent a tab from being changed when user changes tab. This is a typical form dirtiness check use case. 1. User changes form in tab A. 2. User clicks tab B without saving tab B. 3. User remains in tab A and a confirmation dialogue pops up with save or cancel option. 4. Either

Re: [flexcoders] How to prevent tab change

2008-04-27 Thread Scott Melby
This has been discussed a number of times on this list. Try searching the list archives for TabNavigator. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com deepcworld wrote: I need to prevent a tab from being changed when user