Path: 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 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