Flex: force display of control's errorTip (error toolTip) on validation failure

Posted by Jeremy Mitchell on Stack Overflow See other posts from Stack Overflow or by Jeremy Mitchell
Published on 2009-11-18T23:05:13Z Indexed on 2010/03/14 23:05 UTC
Read the original article Hit count: 1088

Filed under:
|
|

When a Validator (i.e. StringValidator, NumberValidator, etc) dispatches an invalid event due to validation failure, the errorString property of the source control (i.e. TextInput) is set to a non-empty string which creates a red border around the control and shows an toolTip (errorTip) ONLY when the mouse hovers over the control.

Question: Can you force immediate display of the toolTip (errorTip) rather than waiting for the user to hover over the control? If so, how?

© Stack Overflow or respective owner

Related posts about flex

Related posts about adobe-flex-3