Thx a bunch Ned and Scott, I now have something that works. Next job is to try to understand it! Then make it pretty... Ken
-----Original Message----- From: squeak-dev-admin@lists.squeakfoundation.org [mailto:squeak-dev-admin@lists.squeakfoundation.org]On Behalf Of Scott Wallace Sent: April 1, 2002 3:47 PM To: Ken G. Brown Cc: squeak-dev@lists.squeakfoundation.org Subject: Re: How to force AcceptableCleanTextMorph to accept for each character typed?
Ken,
The type-in pane of the "Objects Tool" (seen when its "find" tab is selected) had a similar need. Check out ObjectsTool.newSearchPane to see how it does it.
HTH
-- Scott
At 3:19 PM -0700 4/1/02, Ken G. Brown wrote:
I would like to have one of my AcceptableCleanTextMorphs
pass characters
through to the #accept method as characters are typed, a
character at a
time. What would the best way to accomplish that? #hasUnacceptedEdits might do it I suspect but how? Where
would I need to do
the check?
Perhaps AcceptableCleanTextMorph is not the right way to address the problem. Basically I need a small command window that
immediately sends
characters when typed.
Thx for any help. Ken Brown