🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #5771

Hilighting ("locking") User Name text in Chooser?

#5771
From: Bob Kubiak
Date: Wed, 04 Oct 1989 02:40
18 lines
1460 bytes
For reasons I needn't elaborate on, we'd like to be able to prevent (some
class of) users from being able to edit/change the text in the User Name
field of the Chooser once it has been set for them.  If one changes the DITL
item type from editable text to static text, it prevents one from being able
to make a selection with the I-bar in the text and edit it in that way, but
upon entering the Chooser, any keystrokes typed replace the text (since if
the field is not empty the text in it is "selected" upon pulling up the
Chooser).  It seems that there should be a way to deactivate this text
field.  Inside Mac (see the "warning" on p.I-405) discusses disabling of
controls by highlighting them, but there does not seem to be a corresponding
mechanism for editText or statText items (and certainly not one that can be
effected by using ResEdit or friends).

Do you know of a simple way to create the desired effect, or have a pointer
to some doc that describes the appropriate mechanism?  Thanks.

_Bob Kubiak
 Software Engineering Institute
Technical Details
Message-ID: <4307@go.sei.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!pt.cs.cmu.edu!sei!rek

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!pt.cs.cmu.edu!sei!rek
From: rek@sei.cmu.edu (Bob Kubiak)
Newsgroups: comp.sys.mac
Subject: Hilighting ("locking") User Name text in Chooser?
Message-ID: <4307@go.sei.cmu.edu>
Date: 4 Oct 89 02:40:47 GMT
Reply-To: rek@sei.cmu.edu (Bob Kubiak)
Organization: Software Engineering Institute, Pittsburgh, PA
Lines: 18