🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #2044

Colored Button

#2044
From: mzeller
Date: Mon, 14 Dec 1992 05:53
17 lines
937 bytes
Hi, 

I'd like to have a colored button - I don't want to use a TIFF Icon for it.
Best solution would be a Category for the Button Class like -setColor.
If thats not possible, a Subclass of the ButtonClass - ColoredButton with
the same method would be nice.
Did anybody write code for this?
If not, whats the easiest way to implement it?
(I guess you have to overwrite the drawSelf method for the Button class)

Thanks for your help 

- Meinrad
  
--
** Meinrad Zeller - Foehrenweg 1 - 3400 Goettingen - Germany **
** email: mzeller@namu01.gwdg.de      Phone: +49-551-300095  **
Technical Details
Message-ID: <U3S9T0P@gwdu03.gwdg.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!yale.edu!ira.uka.de!Sirius.dfn.de!gwdu03.gwdg.de!mzeller

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!yale.edu!ira.uka.de!Sirius.dfn.de!gwdu03.gwdg.de!mzeller
From: mzeller@gwdg.de
Subject: Colored Button
Message-ID: <U3S9T0P@gwdu03.gwdg.de>
Sender: mzeller@gwdu03.gwdg.de (Muhrad Zeller)
Organization: GWDG, Goettingen
Date: Mon, 14 Dec 1992 05:53:35 GMT
Lines: 17