Need text morph that isn't editable

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Need text morph that isn't editable

Trygve
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?
--Trygve
--

Trygve Reenskaug      mailto: [hidden email]
Morgedalsvn. 5A       http://folk.uio.no/trygver/
N-0378 Oslo             http://fullOO.info
Norway                     Tel: (+47) 22 49 57 27


Reply | Threaded
Open this post in threaded view
|

Re: Need text morph that isn't editable

Bert Freudenberg

On 16.07.2014, at 06:59, Trygve Reenskaug <[hidden email]> 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 -






smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Need text morph that isn't editable

Trygve
'lock' does the trick. Thank you for helpful and rapid response.
--Trygve


On 16.07.2014 09:15, Bert Freudenberg wrote:

> On 16.07.2014, at 06:59, Trygve Reenskaug <[hidden email]> 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 -
>
>