VDS Renaissance 的界面提供多种语言。官方文档以英语维护,以确保提供统一、一致且始终最新的参考。

@COLORDLG

Windows Linux macOS

Syntax

@COLORDLG(<default color>, <list>)

Description

This function displays a Windows color dialog, and returns the name of the color that was selected (or a null string if no color was selected.) The string <default color> contains an optional color which will be used as default selected color. The string <list> specifies an optional list with up to 16 user defined colors.

Note that when using a list, if the user adds some colors to the custom colors, the list will be automatically updated at the function exit.

OK

True if dialog was closed with the OK button, otherwise false.

Example

%F = @colordlg(red, 1)

See also