[FIX] FITBFocusFix-nk

ned at bike-nomad.com ned at bike-nomad.com
Sat Jul 12 17:39:17 UTC 2003


from preamble:

"Change Set:		FITBFocusFix-nk
Date:			12 July 2003
Author:			Ned Konz

FillInTheBlankMorph instances would not get the keyboard focus unless
the mouse was over them. This was especially annoying using pen input.

This fixes that problem by setting the keyboard focus in
getUserResponse.

Try it:

FillInTheBlankMorph
		request: 'Type something, then type CR.'
		initialAnswer: 'yo ho ho!!'
		centerAt: (ActiveHand position - (100 at 100))

This also includes a version of my prior NewLookFITBFix-nk from 26 June,
modified to work without the New Look Preferences package loaded. The
comment from that change set was:

If you have Diego's New Look Preferences loaded, and have turned off the
menuAppearance3d preference, FillInTheBlankMorphs blow up when created.


"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FITBFocusFix-nk.cs.gz
Type: application/octet-stream
Size: 1697 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030712/39848362/FITBFocusFix-nk.cs.obj


More information about the Squeak-dev mailing list