show color in drop down

HI,

In my Application I want to show All the colors in Drop down. When user click on any color it will return code of that color.

any buddy haves any Idea about it.

Thank you

Hi prem,

You could create a valuelist like so:

<html><table width="100"><tr bgcolor="ff0000"><td> <td></tr></table></html>|ff0000
<html><table width="100"><tr bgcolor="00ff00"><td> <td></tr></table></html>|00ff00
<html><table width="100"><tr bgcolor="0000ff"><td> <td></tr></table></html>|0000ff

As you can see you can use HTML in your valuelist to show colors or even images.

Hope this helps.

Thank you, Robert

This was a quick reply.!

ROCLASI:
Hi prem,

You could create a valuelist like so:

<html><table width="100"><tr bgcolor="ff0000"><td> <td></tr></table></html>|ff0000
 
|00ff00
 
|0000ff > ``` > > > As you can see you can use HTML in your valuelist to show colors or even images. > > Hope this helps.

This works only in Smart Client. How can this be done in the Web Client?