Textbox paletteΒΆ
palette = integer
A palette may be assigned to an individual textbox or to a textbox group. If assigned to a group, it defines the default palette for all boxes in the group, overriding the window palette defaults. If assigned to a textbox, it over-rides the current default for that textbox, whether a group default is assigned or not.
Default: The default for a textbox group or ungrouped textbox is the parent window palette. The default may be overridden at window level by a palette = clause. The default operates if this clause is omitted altogether, or if the palette is set to 0.
The default for a grouped textbox is the group palette.
NOTES
From Sculptor 5 onwards, the recommended method of defining colours is to use Colours. Palettes and pens are only required for backward compatibility.
RELATED TOPICS |