Navigation: Language Reference > App C - PROP: Runtime Properties > Complete Property List >====== PROP:CustomColor ====== | |
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.