Jump to content


Photo

How to add color select box?


  • Please log in to reply
3 replies to this topic

#1 Dale

Dale
  • Members
  • 10 posts

Posted 03 January 2010 - 09:40 PM

Hello All,

I have two questions and I have separated them so when others look for these solutions it will be easier to find.

Does anyone know how to add a color box to an option to allow the user to select a color? For example, TColorBox or TColorListBox?


Thanks
Dale


#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,196 posts
  • Gender:Male

Posted 04 January 2010 - 01:09 AM

Hello Dale,

You may only built-in TNxColorItem. For using other editors you may use TNxButtonItem and then after click on button open a new dialog window with desired components.

I hope that this helps.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 Dale

Dale
  • Members
  • 10 posts

Posted 04 January 2010 - 02:36 AM

QUOTE (Boki (Berg) @ Jan 3 2010, 04:09 PM) <{POST_SNAPBACK}>
Hello Dale,

You may only built-in TNxColorItem. For using other editors you may use TNxButtonItem and then after click on button open a new dialog window with desired components.

I hope that this helps.

Best regards


Fantastic, where do I find documentation or code example on how to implement TNxColorItem?

Dale


#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,196 posts
  • Gender:Male

Posted 04 January 2010 - 04:06 AM

Hello Dale,

There is already NxColorItem built-in. All you have to do is to add this item type and hit run.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users