LispWorks CAPI User Guide > 4 Creating Common Windows > 4.1 Generic properties


4.1.2 Background and foreground colors

All subclasses of the simple pane element can have different foreground and background colors, using the :background and :foreground keywords. For example, including

:background :blue
:foreground :yellow

in the make-instance of a text pane would result in a pane with a blue background and yellow text.

LispWorks CAPI User Guide (Windows version) - 22 Dec 2009