On May 16, 2006, at 6:02 PM, Trausti Thor Johannsson wrote:
Anyone here good with masks ? I am trying to have an input mask on an
social id number field, ######-#### but have the option of the first
character being a question mark (?), I can't get the editfield to
accept a ? as input. I have tried to set a and A as the first
character, but it won't allow anything that is not alpabet or a
number.
Anyone ?
In tricky situations like this, I often turn to validating input in the
KeyDown event instead of using the EditField's mask. This could
probably be done with the mask, but I'd go for KeyDown() validation
personally.
-- 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>