Ok Thks! Now I see. Sometimes I forget these things because I am used to codify 
in CFMX. Living and Learning!!

Thks again!

--------->--------->---------
Fernando Barros
Internet Officer
11 5014-7093
www.officer.com.br
--------->--------->---------
________________________________________
De: Manish Jethani [mailto:[EMAIL PROTECTED] 
Enviada em: quarta-feira, 13 de abril de 2005 10:23
Para: [email protected]
Assunto: Re: [flexcoders] Update a label

On 4/13/05, Fernando Barros <[EMAIL PROTECTED]> wrote:

> <mx:TextInput id="txtNome" keyDown="fAtualizaVar(event.ascii)" maxChars="150" 
> width="200" />
> And in my AS I have:
> function fAtualizaVar(sNovoChar):Void
> {
>�������� var sBotaoMsg:String;
>�������� if (isNaN(PropostaSelecionada.NCLIENTEID) == false)
>���������������� sBotaoMsg = 'Update ' + txtNome.text + chr(sNovoChar);
>�������� else
>���������������� sBotaoMsg = 'Insert ' + txtNome.text + chr(sNovoChar);
> 

Where is btnGravar defined?� You could just use binding instead of doing this.

<mx:Button id="btnGravar"
label="{(isNaN(PropostaSelecionada.NCLIENTEID) ? 'Insert ' : 'Update
') + txtNome.text}" />

-- 
[EMAIL PROTECTED]
http://manish.revise.org/ 



 
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/
 



Reply via email to