realbasic-nug
[Top] [All Lists]

Re: Editfield troubles

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Editfield troubles
From: Dave <mrtoast at gmail dot com>
Date: Sat, 30 Oct 2004 14:04:06 -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:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=kbrIXg05A9iKEdlxhasm2oVQA+gCB0NpdzfBXBtBXWPKzyjbs6Xbtmi9iB6EyNp294vEScHKv+3ldJsKpRIDmArwqKgrakWXXIjbWf9GHF3yxBofVZWQmt0ZIrc4NQUO8eE0tZ//Zp5tIsbU7iEL12+dXTMSDhU/MadhQcXyutI=
References: <7729531304103010015624e4b9 at mail dot gmail dot com> <9C4BA258-2AAA-11D9-B939-000A957CB4CC at desuetude dot com>
I think it's because the window is receiving the keydown event but
doesn't know what to do with it.  I haven't specified to beep anywhere
in my project, which means that it's a system beep, which (I think)
means the focus somehow isn't getting back to the editfield.

Dave


On Sat, 30 Oct 2004 15:33:43 -0400, Charles Yeomans
<yeomans at desuetude dot com> wrote:
> 
> On Oct 30, 2004, at 1:01 PM, Dave wrote:
> 
> > 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?
> 
> A strategy for finding the problem.
> 
> Why is the beep occurring?
> 
> Charles Yeomans
> 
> 


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