Not-editable Note

Daria Spescha daria.spescha at id.unibe.ch
Mon Nov 15 07:59:43 UTC 2004


Hello!
 
I’m trying to make a not-editable note field with ScrollableField, i.e.
the text-part should not be editable. Up to now I couldn’t figure out
how to do this. That’s what I tried:
- lock the ScrollableField, I couldn’t edit the text, but neither scroll
- lock the textMorph: didn’t change anything, the text was editable
- overwrite ScrollableField>>handlesKeyboard: ^false.
- overwrite ScrollableField>>keyStroke, ...: these methods are never
invoked, when I edit the text.
 
Can anyone help?
Thanks!
Daria
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20041115/16919c33/attachment.htm


More information about the Squeak-dev mailing list