On Apr 20, 2006, at 10:02 PM, Thom McGrath wrote:

Does anybody know of a good mask for an e-mail address (in an editfield, that is)?

I think you'd have to do custom mask-like filtering in the KeyDown event. The Mask property restricts to a certain number of each type of character, and email addresses are variable length. Something like:

if isAlphaNumeric or ( isAt and not alreadyHaveAnAt ) or isDot then
        // accept
else
        // reject
end if

HTH

-- Asher

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to