Re: A question about views
Posted by Ian Bartholomew-21 on Apr 14, 2006; 12:29pm
URL: https://forum.world.st/A-question-about-views-tp3378217p3378218.html
Joseph,
> What must I do, if it's possible, to change the onColor and the OffColor
> in the View Composer when I add my little view to a "parent" view ?
Add the following *class* method and recreate the View. You should find
that it now has two aspects, editable in the VC, for the on and off colour.
publishedAspectsOfInstances
^(super publishedAspectsOfInstances)
add: (Aspect color: #onColor);
add: (Aspect color: #offColor);
yourself
--
Ian
Use the Reply-To address to contact me (limited validity).
Mail sent to the From address is ignored.