![]() |
CXTPControlColorSelector - no custom colors? |
Post Reply
|
| Author | |
Tomasz
Senior Member
Joined: 05 August 2006 Status: Offline Points: 109 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPControlColorSelector - no custom colors?Posted: 17 September 2007 at 6:32am |
|
Hello,
My apps use custom colors and different palettes than one used by Codejock and in the past I was forced to modify the library itself to achieve color picker customization. And I provided Codejock with my modification of libraries so they can add this functionality easy.
I was happy when I read that Codejock added SetColors() method to specify own color names and RGB values in CXTColorPicker and CXTColorSelectorCtrl.
Unfortunatelly I found out that current implementation is severely lacking:
a) custom colors are NOT available for CXTPControlColorSelector class - meaning that you can not have custom color pickers in command bars
b) the implementation of CXTPControlColorSelector does not use CXTColorSelectorCtrl, instead it contains code repetitions.
Why repeat the same code in several places?
Regards,
Tomasz
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 September 2007 at 1:47am |
|
Hi,
I think you can try Gallery control instead. Please, check \Samples\CommandBars\GallerySample sample.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
esc67
Newbie
Joined: 09 June 2005 Status: Offline Points: 29 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 September 2007 at 3:05pm |
|
I have exactly the same problem as Tomasz. I use CXTPControlColorSelector to implement a color selector in a command bar that can be “torn off”. I don't see a way to use CXTControlColorSelector or CXTColorSelectorCtrl in this manner. I have been working under the assumption that the “CXTP” classes are newer and that “CXT” classes are legacy. Therefore, I would have assumed that CXTPControlColorSelector would be updated with new functionality more often than CXTControlColorSelector. Is that a false assumption? |
|
![]() |
|
Tomasz
Senior Member
Joined: 05 August 2006 Status: Offline Points: 109 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 September 2007 at 5:43pm |
|
> I think you can try Gallery control instead.
Is this part of Ribbon UI? If so - no thanks. I don't use bloatware ribbons.
FYI: I have fixed CXTPControlColorSelector myself. It was half hour job. Counting on Codejock would take 3 months to implement (see 9 months wait for SyntaxEdit bug fixes that were reported in January and still not fixed till now)
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |