Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

ChooseColor – PB Docs 2022 – PowerBuilder Library

ChooseColor – PB Docs 2022

ChooseColor

PowerScript function

Description

Displays the standard color selection dialog box.

Syntax

Argument

Description

color

A long passed by reference that represents the color
selected in the dialog box

customcolors (optional)

A long array of custom colors passed by reference to the
color selection dialog box

Return value

Integer.

Returns 1 if the function succeeds, 0 if the user selects cancel (or
the dialog box is closed), -1 if an error occurs.

Examples

This example displays the color selection dialog box with a base
color of red and with two different custom colors defined:

See also

RGB


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x