Button paletteΒΆ
palette = integer
A palette may be assigned to an individual button or to a button group. If assigned to a group, it defines the default palette for all buttons in the group, overriding the window palette defaults. If assigned to a button, it over-rides the current default for that button, whether a group default is assigned or not.
Default: The default for a button group or ungrouped button is the parent window palette. The default may be overridden at window level. The default operates if this clause is omitted altogether, or if the palette is set to 0.
The default for a grouped button 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 |