gettingstarted
[Top] [All Lists]

Re: masking

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: masking
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Thu, 24 Feb 2005 08:36:44 -0600
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <BAY2-F412F8BC136134ED1E760F5DA640 at phx dot gbl>
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>

<Prev in Thread] Current Thread [Next in Thread>