[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Background Color in dialog-items
- To: info-mcl@ministry.cambridge.apple.com
- Subject: Re: Background Color in dialog-items
- From: John_Gersh@aplmail.jhuapl.edu (John Gersh)
- Date: Tue, 19 Apr 1994 17:31:58 -0400
- Distribution: world
- Followup-to: comp.lang.lisp.mcl
- Newsgroups: comp.lang.lisp.mcl
- Organization: The Johns Hopkins University Applied Physics Lab
- References: <9404191434.AA00576@aristotle.ils.nwu.edu>
In article <9404191434.AA00576@aristotle.ils.nwu.edu>,
welch@aristotle.ils.nwu.edu (John Welch) wrote:
> I can't get radio-button-dialog-items or check-box-dialog-items to
> display in any background color other than white....
> (setf test (make-instance 'window :color-p t ))
[code elided]
> (set-back-color test *green-color*)
To get the right background colors for control dialog items you have to do
(set-part-color test :content *green-color*)
instead of the set-back-color. It's just one of those mysteries ...
=== John R. Gersh John_Gersh@aplmail.jhuapl.edu
=== The Johns Hopkins University Applied Physics Laboratory
=== Laurel, MD 20723 +1(301)953-5503