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>
|