Flex: How to create a floating notification message of sorts for a custom component?
Posted
by aberrant80
on Stack Overflow
See other posts from Stack Overflow
or by aberrant80
Published on 2010-05-13T13:13:50Z
Indexed on
2010/05/13
13:54 UTC
Read the original article
Hit count: 160
flex
|custom-component
I have a custom TextInput-based component for date and time with certain restrictions on what's considered "within range". But it's still fine to insert dates that are outside the range.
When a user types in a date, on valueCommit, I'd like to be able to display a hovering notification to the user, to inform/warn them that the date is outside the accepted range.
I'm thinking of notifications ala the Validators, but I'd rather not use the Validator mechanism because it's really not validation, just notification. Something like a tooltip, but it will only appear if the user changed the value. Maybe an effect of some sort?
If anyone has any ideas or if anyone has done something like this, I'm all ears!
© Stack Overflow or respective owner