🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #16940

Re: Graying Out Text Items

#16940
From: Dennis Cohen
Date: Mon, 15 Jun 1987 13:33
18 lines
1408 bytes
In article <cUnz9Qy00UhTNoY1YA@andrew.cmu.edu>, rs4u+@ANDREW.CMU.EDU (Richard Siegel) writes:
> 
> I don't think it's necessary to define a UserItem to
> gray out an item. The following bit shuld work:
> 
<There followed an example procedure which will do (essentially what was wanted)>

One slight problem with this approach is the number of places you have to trap
the condition and make sure it is done right.  Activate events on your window,
updates, etc.  It is far easier to do it as a useritem and let the dialog mgr.
take care of it through its own methods (calling your action-proc when needed).

Dennis Cohen
Ashton-Tate Glendale Development Center
dBASE Mac Development Team
--------------------------
Disclaimer:  I said it, I thought of it, my employer and I have never discussed
	it.  Leave them alone.
Technical Details
Message-ID: <194@dbase.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcnc!gatech!hubcap!ncrcae!ncr-sd!hp-sdd!hplabs!sdcrdcf!psivax!csun!dbase!drc
References: <cUnz9Qy00UhTNoY1YA@andrew.cmu.edu>

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!mcnc!gatech!hubcap!ncrcae!ncr-sd!hp-sdd!hplabs!sdcrdcf!psivax!csun!dbase!drc
From: drc@dbase.UUCP (Dennis Cohen)
Newsgroups: comp.sys.mac
Subject: Re: Graying Out Text Items
Message-ID: <194@dbase.UUCP>
Date: Mon, 15-Jun-87 09:33:25 EDT
Article-I.D.: dbase.194
Posted: Mon Jun 15 09:33:25 1987
Date-Received: Mon, 22-Jun-87 04:23:44 EDT
References: <cUnz9Qy00UhTNoY1YA@andrew.cmu.edu>
Organization: Ashton Tate Development Center Glendale Cal.
Lines: 18
Summary: Re: Gray Text