realbasic-nug
[Top] [All Lists]

Editfield troubles

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Editfield troubles
From: Dave <mrtoast at gmail dot com>
Date: Sat, 30 Oct 2004 11:01:36 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=JcYQSsp6LiusPBvdijhdeuXKed0yfBKKbiSeSGgV8oyEV5l1TwJeYebFaXKmNboKR9cqcwnPrOAlP1t1A0B39dVReyliJmOggWqsrwIRCh3OrR1vAD6M8UW70eRoqWEEoJe2675VWZY1PTvMJAb6GVhW8JqRKKUyvPCx6m7xDtM=
Hi everyone,

I'm having editfield problems.  Here's what's up:
I have a window with (basically) an editfield and a canvas.  The
canvas is a transparent control over everything to intercept certain
mouseclicks (right and command clicks).  Otherwise, the mouse click is
ignored by the canvas (or so I'm led to believe) and passes to the
editfield underneath.

The problem:
When I run my program, it works fine.  But if I switch to another
application and then back to my program, and try typing, I'm met at
every keystroke by my iBook beeping at me.  I've tried putting
"SearchField.setfocus" everywhere I could think, but nothing is
working.  What am I missing?

Thanks,

Dave

-- 
"You take the blue pill. The dream ends, you wake up in bed and
believe whatever you want to believe. You take the red pill. You stay
in Wonderland and I show you how deep the rabbit-hole goes. You take
the purple pill. The pain stops, you are relieved from heartburn, and
the lining of your esophagus returns."

There's no place like ~/
_______________________________________________
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>