ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Best way to show color palette

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
yogiyang Posted - May 31 2016 : 09:40:02
Hello,

I want to show the user a color palette when a button is clicked.

In this color palette I want to show predefined colors.

What is the best way to do this. Is there any sample showing a predefined color palette?

TIA



Yogi Yang
4   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - Jun 02 2016 : 17:03:58
You can load a palette by using mbColorPalette which is part of the mbColorTools. The palette colors are loaded from a stringlist of colors that you can create manually or the palette colors can be loaded from the IEBitmap.Palette. The mbColorPalette can contain any number of colors.

Download Color Library: https://www.dropbox.com/s/m41hh9xrnsqh815/mbColorLib.zip?dl=0
or
http://mxs.bergsoft.net/index.php?p=2

Download Demo: attach/w2m/201652692951_PaletteColor.zip
57.27 KB

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
yogiyang Posted - Jun 01 2016 : 01:29:18
Wow!!!
Thanks for this.

That will help me a lot!

TIA


Yogi Yang
w2m Posted - May 31 2016 : 10:43:01
Please post link.
Gradient vcl: http://www.delphiarea.com/?dl_id=13

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
yogiyang Posted - May 31 2016 : 10:39:06
Ok

Found this beautiful mncolor vcl.

Now I have been able to show user a palette from which to select.

But now I have another problem.

How to fill Layer 0 with a Gradian color between to selected colors by user?

TIA


Yogi Yang