## The `custom' property

Implemented under Windows only

Integer vector of up to 16 elements

Valid for: ChooseColor

The pre-defined ChooseColor dialog can optionally allow the user to choose from and define 'custom' colors, in addition to the default colors which appear in the dialog. (Custom colors are allowed by default, unless you specify 2 for the `style` property). Setting the `custom` property before the dialog is displayed allows you to specify the custom colors which will appear, and reading the `custom` property after the dialog has been closed by the user allows you to retrieve the values of the custom colors which the user may have defined or changed.

The colors in the custom property are each encoded in base 256 as 256 ƒ Blue Green Red, where the Blue, Green and Red values are in the range 0 to 255.

Topic: APLX Help : System Classes : Properties : custom

[ Previous | Next | Contents | Index ]