[Lazarus] typo in IDE popup tooltip
Juha Manninen
juha.manninen62 at gmail.com
Fri Sep 21 21:01:17 CEST 2018
On Fri, Sep 21, 2018 at 8:29 PM AlexeyT via Lazarus
<lazarus at lists.lazarus-ide.org> wrote:
> function StringToColor( const S: shortstring ): TColor;
> /home/user/lazarus/lcl/graphics.pp(1901,10)
> Description
> StringToColor
> - given a colour name like 'Blue', returns the corresponding colour value
>
> --> fix to 'clBlue' or better to 'clMagenta'
Strangely enough, the "Colors" map does not have 'clMagenta'. It has 'clBlue'.
See const
Colors: array[0..106] of TIdentMapEntry = (...
in graphics.pp line 2349.
Does function StringToColor() work as expected?
Anyway I fixed the documentation to say 'clBlue' in r59118.
Juha
More information about the Lazarus
mailing list