Thanks Joe,
MsgBox will give a message that the input data is incorrect and then give
the user the chance to correct it, but I would like to have the user
prevented from inputting the data then have MsgBox to go through the
correcting pocess with the user.
Masking with ## will not prevent two-digit values >60, since it will allow
two digits value up to 99.
Thanks again.
Lennox.
From: "Joseph J. Strout" <joe at realsoftware dot com>
Reply-To: Getting Started <gettingstarted at lists dot realsoftware dot com>
To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: masking
Date: Thu, 24 Feb 2005 08:36:44 -0600
At 1:50 AM +0000 2/24/05, Lennox Jacob wrote:
I have an editField but when I mask with ## two digits can be entered,
these twu digits can be from 00 to 99. What about if I want it to mask out
from 60 to 99 or this can only be done with MsgBox?
It can only be done with code, though I'm not sure what MsgBox has to do
with it. Best would probably be to put code in the TextChange event, or
perhaps in LostFocus, depending on when you want this validation to be done
and what you want to happen when it fails.
Best,
- Joe
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|