[Cuis-dev] Greetings and a couple of questions from a newbie

ken.dickey at whidbey.com ken.dickey at whidbey.com
Sun Feb 15 12:15:14 PST 2026


On 2026-02-15 09:52, David Gouge via Cuis-dev wrote:

> In the code example, the greetingLabel instance is explicitly sent the 
> 'color: Color: red' message after creation.

Quick note:

  <greetLabel> color: Color red

Should work.  #Color: is not a selector.  #Color (no colon) refers to 
the Color class.

Syntax highlighting in the Workspace window should clue here.

I note that LabelMorph>>contents: checks for and handles #Text.

The 'Color red' invokes the Color>>red method [Browse _Class_ Color, 
method #red].

HTH,
-KenD


More information about the Cuis-dev mailing list