[squeak-dev] Need text morph that isn't editable

Bert Freudenberg bert at freudenbergs.de
Wed Jul 16 07:15:55 UTC 2014


On 16.07.2014, at 06:59, Trygve Reenskaug <trygver at ifi.uio.no> wrote:

> I need a text morph that the user can't edit.  Currently, I am using PluggableTextMorph and fiddle the mouseDownPriority. Ugly hack?
> 
> I miss a msg to the text morph like
>     isEditable: false.
> 
> Any ideas?

Send #lock to your morph.

- Bert -



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4142 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140716/0d9142b5/smime.bin


More information about the Squeak-dev mailing list