User Tools

Site Tools


prop_customcolor.htm
Navigation:  Language Reference > App C - PROP: Runtime Properties > Complete Property List >====== PROP:CustomColor ====== Previous pageReturn to chapter overviewNext page

A read/write SYSTEM property that can be used to save custom colors added by a user between program sessions.

Syntax:

color = SYSTEM {PROP:CustomColor, n}

SYSTEM {PROP:CustomColor, n} = color

n must be an integer value between 1-16.

This property returns the RGB value of n-th entry of the Custom Colors list contained in the standard Color dialog. If the n-th entry is not set, the returned value is 0FFFFFFh (white color).

Setting this property sets n-th entry of the Custom Colors list of the standard Color dialog to specified RGB value.

prop_customcolor.htm.txt · Last modified: 2021/04/15 15:57 (external edit)