🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #371

Re: Non-copyable TextField

#371
From: Hans Peter Geiser
Date: Fri, 31 Jul 1992 07:38
11 lines
759 bytes
> 
>   I'm trying to make a subclass of TextField object that cannot be copied
> with the cut/copy keys or cut/copy menu entries. 

The easiest way to prevent a text of being copied is to send it the message  
[myText setSelectable:NO]. I'm not sure if you have also to sent the  
setEditable:NO message to the text as in IB you cannot make an editable text  
non-selectable.

Hans - Peter Geiser
hans@nextpoint.de
Technical Details
Message-ID: <1687@nextpoint.UUCP>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!unido!nextpoint!dev01
References: <1992Jul29.162437.3218@agora.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!unido!nextpoint!dev01
From: hans@dev01 (Hans Peter Geiser)
Newsgroups: comp.sys.next.programmer
Subject: Re: Non-copyable TextField
Message-ID: <1687@nextpoint.UUCP>
Date: 31 Jul 92 07:38:29 GMT
References: <1992Jul29.162437.3218@agora.uucp>
Sender: usenet@nextpoint.UUCP
Lines: 11