Re: Background colours and sub-presenters...
Posted by
Andy Bower-3 on
Aug 21, 2004; 5:05pm
URL: https://forum.world.st/Background-colours-and-sub-presenters-tp3371295p3371297.html
Mark,
> When editing a dialog the default background colour is the standard
> lightgray/silver that most dialogs have, but if I place internal
> container presenter its default colour is an unsightly white ( even
> thou its set to nil ).
>
> Is this a bug in the underlying container class or something I'm
> missing?
>
> Also, I notice such coponents as toolbars have their colour set to
> "SystemColour lookup: xxx" ( or something of the like, the laptops
> not next to me to check ) yet I can't set/use a system myself - is
> there some mystical encantation I've forgotten to pray or just
> something I'm not supposed to do?
We normally use "Color face3d" as suggested by Yar Hwee Boon.
Dolphin Smalltalk was actually created (but never realized) as a
successor to a 4GL system called Intuitive Solution:
http://www.object-arts.co.uk/wiki/html/Dolphin/IntuitiveSolution.htmIt's interesting to note that this system had the ability for views to
"inherit" default colours from their parents. At the time (circa 1994)
we were afraid that this search for default colours might slow the
loading of Dolphin views down so we didn't include it. At that time
Dolphin was only just about fast enough on a Pentium 100 so we were
worried about such things. In retrospect it would have probably been a
good idea to implement this feature and wait for Moore's law to help
out.
Best regards,
Andy Bower
Dolphin Support
www.object-arts.com