View Issue Details

IDProjectCategoryView StatusLast Update
0025397LazarusCustom Drawnpublic2020-04-01 10:53
ReporterRichard Mace Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformWindowsOSXP 
Summary0025397: Font not becoming bold on OwnerDraw
DescriptionIf you specify the font to be bold and colour, it on displays the colour not bold.
  Sender.Canvas.Font.Style := [fsBold];
  Sender.Canvas.Font.Color := clGreen;
Steps To ReproduceAs per project
TagsNo tags attached.
Fixed in Revision
LazTarget-
WidgetsetWin32/Win64
Attached Files

Relationships

related to 0025418 resolvedZeljan Rikalo Listview OwnerDraw not working in Linux 

Activities

Richard Mace

2013-12-05 12:47

reporter  

test.zip (128,355 bytes)

Zeljan Rikalo

2013-12-12 17:10

developer   ~0071880

This is bad named issue. OwnerDraw is false in your case, and if it's true then you should use OnDrawItem (like embarcadero docs says), not OnCustomDrawItem or OnAdvancedCustomDraw....etc

wp

2013-12-14 17:42

developer  

D7.png (27,162 bytes)   
D7.png (27,162 bytes)   

wp

2013-12-14 17:43

developer   ~0071894

I converted the demo to Delphi 7, and it does show the colored items in bold although OwnerDraw is false -- see D7.png

Zeljan Rikalo

2013-12-14 18:03

developer   ~0071895

I'm just making this issue subject clear. OwnerDraw have nothing to do with this issue.

Richard Mace

2013-12-17 11:24

reporter   ~0071931

I have OwnerDraw set to false, and I agree, it's not the best named fault so sorry for that. Have you been able to test in XP?

Richard Mace

2014-09-15 13:59

reporter   ~0077255

Hi, does anybody need any further clarification from me, or I am doing something wrong?
Would really like to try and assist with getting this bug fixed.

Richard

Zeljan Rikalo

2020-04-01 10:53

developer   ~0121824

Detached myself from this issue. It's for someone with deep knowledge of msdn api.

Issue History

Date Modified Username Field Change
2013-12-05 12:47 Richard Mace New Issue
2013-12-05 12:47 Richard Mace File Added: test.zip
2013-12-06 10:44 Marc Weustink Project Lazarus CCR => Lazarus
2013-12-06 11:46 Zeljan Rikalo Assigned To => Zeljan Rikalo
2013-12-06 11:46 Zeljan Rikalo Status new => assigned
2013-12-11 13:23 Reinier Olislagers Relationship added related to 0025418
2013-12-12 17:10 Zeljan Rikalo LazTarget => -
2013-12-12 17:10 Zeljan Rikalo Note Added: 0071880
2013-12-12 17:10 Zeljan Rikalo Status assigned => feedback
2013-12-14 17:42 wp File Added: D7.png
2013-12-14 17:43 wp Note Added: 0071894
2013-12-14 18:03 Zeljan Rikalo Note Added: 0071895
2013-12-17 11:24 Richard Mace Note Added: 0071931
2013-12-17 11:24 Richard Mace Status feedback => assigned
2014-09-15 13:59 Richard Mace Note Added: 0077255
2020-04-01 10:53 Zeljan Rikalo Assigned To Zeljan Rikalo =>
2020-04-01 10:53 Zeljan Rikalo Status assigned => new
2020-04-01 10:53 Zeljan Rikalo Note Added: 0121824