🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #16633

How do you inactivate statText and editText items in a modeless dialog box?

#16633
From: Mark J. Steiglitz
Date: Thu, 04 Jun 1987 23:24
17 lines
1598 bytes
I want some statText and editText items disabled (so that DialogSelect
doesn't return true) and inactivated (so that the text is dimmed, the
editText cannot be edited, and mouse clicks in the item are interpreted the
same as mouse clicks in the blank part of the dialog box) in a modeless dialog
box.

I have been able to get the items disabled using ResEdit, but I have not
been able to inactivate them.  I have been using HiliteControl to inactivate
chkCtrl and radCtrl items.  Is there an equivalent procedure for statText
and editText items?

-- 
|Mark J. Steiglitz          |Bitnet: steig@crnlthry, araj@crnlvax5            |
|USnail: 66 Steiglitz Road  |Arpanet: steig@tcgould.tn.cornell.edu            |
|        Liberty, NY  12754 |         araj@vax5.ccs.cornell.edu               |
|                           |Usenet: steig@batcomputer.tn.cornell.edu.uucp    |
Technical Details
Message-ID: <1271@batcomputer.tn.cornell.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rochester!cornell!batcomputer!steig

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rochester!cornell!batcomputer!steig
From: steig@batcomputer.tn.cornell.edu (Mark J. Steiglitz)
Newsgroups: comp.sys.mac
Subject: How do you inactivate statText and editText items in a modeless dialog box?
Message-ID: <1271@batcomputer.tn.cornell.edu>
Date: Thu, 4-Jun-87 19:24:03 EDT
Article-I.D.: batcompu.1271
Posted: Thu Jun  4 19:24:03 1987
Date-Received: Tue, 9-Jun-87 02:12:13 EDT
Reply-To: steig@tcgould.tn.cornell.edu.UUCP (Mark J. Steiglitz)
Organization: Cornell Theory Center, Cornell University, Ithaca NY
Lines: 17
Keywords: modeless dialog
Summary: I can disable them, but I can't inactivate them.