[Lazarus] How to edit color value in Object inspector

JuuS JuuS at mykolab.ch
Sat Feb 14 13:25:03 CET 2015

I also found this confusing a bit ago when I wanted to set colors.

I resorted to loading a color picker, tuning the colors I wanted and
storing those values later to be used in a case statement.

The problem was in the Object Inspector one cannot put value, one must
use the drop down color picker. In the color picker one can only put a
color in the form of #AABBCC. But what comes back from the Picker is a
value in the form $00CCBBAA.

What one would want is to have the picker allow input that is the same
as what as what the picker outputs, ja?

I just worked around it, but since it seems to be a confusion for more
than just myself, I throw in these two cents... ;-)

On 02/13/2015 08:09 AM, zeljko wrote:
> On 02/12/2015 06:59 PM, FreeMan wrote:
>> osx fpc & lazarus svn QT x64
>> I wanna enter  this value $CCD148 from Object inspector but I can not,
>> How to enter hex value to colour property from object inspector?
> You can enter such value in color dialog of that combobox, you cannot
> enter it directly.
> zeljko
> -- 
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

More information about the Lazarus mailing list