On Thu, 13 Nov 2014 19:57:47 +0100
Krzysztof wrote:
> Ok solved by TColorToFPColor(ColorToRGB(clHighlight))
Yes, but keep in mind that system colors are context sensitive. a
clHightlight might be a different color on a TButton and on a TForm.
And system colors depend on using as a Brush, Pen or
Ok solved by TColorToFPColor(ColorToRGB(clHighlight))
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Hi,
I need to convert system color (like clHighlight, clBtnText etc) into
TFPColor. Function TColorToFPColor has comment "does not work on
system color" and indeed it doesn't work (I always get black color).
Many other color functions has this same comment. How to workaround
this?
Regards
--
___
On Thu, Nov 13, 2014 at 11:07 AM, Reimar Grabowski wrote:
> Hi,
>
> first of all I am new to using Lazarus/FPC for database communication.
> I have set up my database connection, transaction and queries via the Object
> Inspector and all is working as it should. But I have a little problem
> get
On Thu, Nov 13, 2014 at 11:07 AM, Reimar Grabowski wrote:
> Hi,
>
> first of all I am new to using Lazarus/FPC for database communication.
> I have set up my database connection, transaction and queries via the
> Object Inspector and all is working as it should. But I have a little
> problem gett
Hi,
first of all I am new to using Lazarus/FPC for database communication.
I have set up my database connection, transaction and queries via the Object
Inspector and all is working as it should. But I have a little problem getting
the PK value of a newly inserted record (the PK field is an auto-