Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2018-09

typo in IDE popup tooltip

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Juha Manninen
to AlexeyT
PM AlexeyT wrote 7 lines
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

Reply by email