Problem with drawing of a submorph

FWr at phaidros.com FWr at phaidros.com
Wed Jul 19 14:35:59 UTC 2000


Hi folks!

To indicate which widget in a GUI has currently the keyboard focus I build a
little FocusIndicatorMorph. Each widget that wants to show the user that it
is the current focus owner adds an instance of this morph as a submorph (and
of course deletes this instance if it looses the focus). My little morph
paints a dotted line around the widget that owns it (as known from Windows
buttons).
Trying its behavior on some radio buttons I got this result: example1 (see
attachments). Wondering why only two borders were painted I put a "self
halt" in the drawOn: method of my morph and now I got the right result:
example2. 
The same happens if I replace the "self halt" by something like "1 inspect".
Any ideas?
Thanks!

Frank


 <<example1.gif>>  <<example2.gif>> 


Frank Winkler
Phaidros Software AG
03677 677 9286
privat Tel. 03677 206615, 0170 821 7624

Java, the best argument for Smalltalk since C++.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: example1.gif
Type: image/gif
Size: 1370 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20000719/aeefe524/example1.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example2.gif
Type: image/gif
Size: 1472 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20000719/aeefe524/example2.gif


More information about the Squeak-dev mailing list