From the validator doc:
 
The UIComponent class defines the errorString property that you can use to show a validation error for a component, without actually using a validator class. When you write a String value to the UIComponent.errorString property, Flex draws a red border around the component to indicate the validation error, and the String appears in a ToolTip as the validation error message when you move the mouse over the component, just as if a validator detected a validation error.

To clear the validation error, write an empty String, "", to the UIComponent.errorString property.
 
Stephen



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Wednesday, February 01, 2006 6:09 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Creating that Validator popup message? (Flex 2.0)

For the TextFields?  No.  Validation + TextPopups in Flex 1.5 are harcoded together.  Not sure in 2.0.
 
You can, however, create whatever type of popup you want via PopUpManager.  If you want to set the focus of the object, either do object.setFocus(), or just visually, do object.drawFocus(true);
 
----- Original Message -----
Sent: Wednesday, February 01, 2006 5:49 PM
Subject: [flexcoders] Creating that Validator popup message? (Flex 2.0)

The Validator objects are not appropriate for what I'm doing, but I do like the way they popup that text "bubble" message when validation fails.  Is there a way to manually create/show/hide such popup messages?


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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to