SetColor Method (JColorChooser)

Action

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

Syntax

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

Examples

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