| To: | REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Easy way to permit numbers exclusively? |
| From: | support at monkeybreadsoftware dot de (Christian Schmitz) |
| Date: | Wed, 30 Jan 2002 22:01:45 +0100 |
> if key < "0" or key > "9" then > return true > end if I think something like this is bad because you block all keys like: - backspace (code 8) - enter (code 3) - return (code 13) - tab (code 9) - cursor (codes around 28 to 31) - page up/down - delete key (code maybe 127) and some more better disable the ok button in the textchange event if the number is not in range. Mfg Christian -- Think Different! An Apple a day keeps Wintel away! http://www.christians-software.de (Free Mac/Win software) |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: Re: Applescript help?, Jackson, Luke A. |
|---|---|
| Next by Date: | Re: Remove app icon from dock, Christian Schmitz |
| Previous by Thread: | Re: Easy way to permit numbers exclusively?, Thomas Reed |
| Next by Thread: | Re: Easy way to permit numbers exclusively?, Kevin Rudman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |