Hi all,
Sorry for my question, I'm not using Lazarus since many years.
I would like draw only the caption in bold.
For that, I use OnAdvancedCustomDrawItem :
procedure xxxxx.xxxxxAdvancedCustomDrawItem(
Sender: TCustomListView; Item: TListItem; State: TCustomDrawState;
Stage: TCustomDrawStage; var DefaultDraw: Boolean);
begin
// NotWorking
Sender.Canvas.Font.Style := [fsBold];
// Working
Sender.Canvas.Font.Color := clRed;
end;
For change color, it's working (Under Windows 10, Lazarus 2.0.13).
Is-it because DefaultDraw is set to true?