SetColor Method (JColorChooser)

Action

Sets the current color of the color chooser to the specified color.

Syntax

C#
colorChooser.SetColor(color)
VB
colorChooser.SetColor(color)
Variable Description
color The color to set. Color.

Examples

VB

Dim colorRed As SilkTest.Ntf.Color = New SilkTest.Ntf.Color(255, 0, 0, 0)
ColorChooser.SetColor(colorRed)