Darron,

So funny, when i receive your post I just found the solution.

Thanks a lot for your help


Eric
-----Message d'origine-----
De : [email protected] [mailto:[EMAIL PROTECTED] De la
part de Darron J. Schall
Envoyé : lundi 18 juillet 2005 21:11
À : [email protected]
Objet : Re: [FlexCoders] Validator width actionscript and without model tag

Eric Guesdon wrote:

>I do this code and i retreived true or false from validate method but i
>would like to retreive default validators behaviors (TextInput with red
>border and error tooltip attach to the error field)
>
That's kind of funny - I actually just ran into this exact same thing
today.  The Validator revolves around the "errorString" property of
UIComponent.

To set the red border and a tooltip on a textInput, set it's errorString
to some value:

myInput.errorString = "This is the tooltip text";

To make the red border / tooltip go away, set the errorString to "".

-d




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links







This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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