[Lazarus] Color and transparancy selection ?

2018-03-22 Thread Michael Van Canneyt via Lazarus
Hello, Is there a version of TColorDialog which allows to specify an Alpha channel ? Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Color and transparancy selection ?

2018-03-22 Thread Ondrej Pokorny via Lazarus
On 22.03.2018 20:49, Michael Van Canneyt via Lazarus wrote: Is there a version of TColorDialog which allows to specify an Alpha channel ? Not in the LCL itself. Maybe you can try to build one using http://wiki.lazarus.freepascal.org/mbColorLib#RGB_color_pickers I didn't use it myself, it jus

Re: [Lazarus] Color and transparancy selection ?

2018-03-22 Thread Michael Van Canneyt via Lazarus
On Thu, 22 Mar 2018, Ondrej Pokorny via Lazarus wrote: On 22.03.2018 20:49, Michael Van Canneyt via Lazarus wrote: Is there a version of TColorDialog which allows to specify an Alpha channel ? Not in the LCL itself. Maybe you can try to build one using http://wiki.lazarus.freepascal.org/mb

Re: [Lazarus] Color and transparancy selection ?

2018-03-22 Thread Werner Pamler via Lazarus
Am 22.03.2018 um 21:36 schrieb Ondrej Pokorny via Lazarus: Not in the LCL itself. Maybe you can try to build one using http://wiki.lazarus.freepascal.org/mbColorLib#RGB_color_pickers I did the port to Lazarus. But no - none of them supports an alpha channel, they focus on color selection bas

Re: [Lazarus] Color and transparancy selection ?

2018-03-22 Thread Vojtěch Čihák via Lazarus
Hello,   native TColorDialog in Qt4 has slider and edit for Alpha channel but this value is never in the result (i.e. TColorDialog.Color property). TColor uses upper 8 bits for other purposes than alpha.   V. __ Od: Michael Van Canneyt

Re: [Lazarus] Color and transparancy selection ?

2018-03-22 Thread Anthony Walter via Lazarus
I've written a pascal version of some color controls which I've ported to Lazarus. Here is a link to a page with demo video: https://www.codebot.org/delphi/?doc=9524 These controls includes a hue picker that has 2 styles (radial as shown and bar), a saturation pick again with 2 styles, and an alp