All Manuals > CAPI User Guide > 3 Creating Common Windows > 3.1 Generic properties

NextPrevUpTopContentsIndex

3.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.


CAPI User Guide (Macintosh version) - 30 Aug 2011

NextPrevUpTopContentsIndex