I usually disable the other tabs on errors so they cannot click them, but i
remember a case where i could use the change event to stop it from changing
the selectedIndex... I cannot remember what i did thought... Have a look at
the docs for your container.

Anybody else remembers how to do this?

On Thu, Dec 18, 2008 at 1:58 AM, koti reddy <[email protected]> wrote:

>   Thank you for your response...Show and Hide events are working in proper
> way which i expected...But Is their any way can i stop going to other tab if
> user filled half of his form and he has some error messages to look at as
> Alerts Before going to other tab.....
>
> thanks
> ------------------------------
> *From:* Fotis Chatzinikos <[email protected]>
> *To:* [email protected]
> *Sent:* Wednesday, December 17, 2008 3:37:33 PM
> *Subject:* Re: [flexcoders] How focusOut Event works in Flex
>
>  Hi,
>
> did you try show / hide events?
>
> You could also use the containers change event:
>
> change="navigatorClicked( )" for example and in there check for unsaved
> data
>
> On Wed, Dec 17, 2008 at 11:55 PM, b.kotireddy <koti_reddy972@ 
> yahoo.com<[email protected]>
> > wrote:
>
>>   Hi,
>> I have multiple tabs, My users requirement is to save the data of one
>> of his tab form if he move from that tab to another tab with out
>> pressing save button.
>>
>> I was trying with focusOut event. It was not working properly. If i
>> click some where in the current tab also it is invoking every time i
>> click else not. And more over the focusOut event of first clicked tab
>> is invoking in every other tab and every mouse click in other tabs.
>>
>> I am pretty much new to Flex Development. Could any one please help me
>> how can i access a method before going on of a page.
>>
>> Please let me know is their any alternate method to invoke a
>> particular method when my focus out from TAB to another.
>>
>> Thanks in advance
>>
>>
>
>
> --
> Fotis Chatzinikos, Ph.D.
> Founder,
> Phinnovation
> Fotis.Chatzinikos@ gmail.com <[email protected]>,
>
>  
>



-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
[email protected],

Reply via email to