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 10:55:22 -0600
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <BAY2-F207A11DB7CCB933BD7F9E2DA640 at phx dot gbl>
At 4:40 PM +0000 2/24/05, Lennox Jacob wrote:

I got the idea, but the coe is beating me, this is what I have:
 If me.selstart = 0 and Chr??? >= 6

No need for Chr here.  Just do this:

  if me.selStart = 0 and Key >= "6"  then
     Beep
     return True  // means we handled the key, so process it no further!
  end if
  return False  // means continue with normal processing

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>