Simple TListView OwnerDraw Text Font Size and Color example?
问题 I am trying to owner draw a List View control in report-mode with 4 columns, using OnCustomDrawItem . When I try to change the Canvas.font.color, and that's all I do, I have no problems. If I set canvas.font.size, I find that there is no change in the size of the text drawn by the control. If I try to take over the painting of the text, from within OnCustomDrawItem, I find I can not. I am aware of how to use OnCustomDraw to draw in the background area, but I want to custom draw a listview