Unplanned
Last Updated: 28 Nov 2022 00:42 by James

1. Select the ColorBox's ellipses to open the Color Dialog

on load of its Color Dialog the Web & System tabs have selected colors by default

2. Select the Web tab

In the below for Web its Transparent

3. Select "OK"

the colour doesn't get updated in the ColorBox on Color Dialog close

Which is understandable as a colour change hasn't occurred only the tab has been changed

 

However, following the same scenario above.

If the user wanted to select Transparent, they would need to:

2. Select a different colour even though its selected on load by default

3. Select back on Transparent

4. Select OK in order to see the colour reflected in the ColorBox

 

This is not ideal for an end user.

Is there a way to have no selection by default in the Web & System tabs?

Completed
Last Updated: 13 Jan 2022 10:43 by ADMIN
Release R1 2022
Created by: Suresh
Comments: 0
Category: ColorBox
Type: Bug Report
0

Add a RadColorBox on the form and use the following code: 

            this.radColorBox1.Value = Color.Black;
            RadColorSelector selector = this.radColorBox1.ColorDialog.ColorDialogForm.RadColorSelector as RadColorSelector;
            selector.OldColor = Color.Green;

Workaround:

            this.radColorBox1.ColorDialog.ColorDialogForm.SelectedColor = Color.Green;
            this.radColorBox1.Value = Color.Black;