- This topic has 6 replies, 2 voices, and was last updated 12 years, 6 months ago by
Support.
-
AuthorPosts
-
August 23, 2012 at 4:05 am #48813
Hamilton
ParticipantJust to add to the bug report: the issue occurs regardless of whether the checkboxes are shown (the screen grab shows checkboxes).
I don't know if this is the right path or not but IIRC the list view draws the first column border and then copies that to the other columns; it may just be that the cell color for the first column is being drawn one or so pixels too far to the left and entering the region that is copied?
Regards,
Hamilton
September 6, 2012 at 1:21 pm #48864Support
KeymasterHi!
I'll try to fix it in the nearest release.
September 12, 2012 at 1:54 am #48938Hamilton
ParticipantFixed in 7.69. However, I noticed you have made font for the selected row bold for all columns except the first one – I suspect this may be an oversight not to include the first column?
Regards,
Hamilton
September 22, 2012 at 9:35 am #48967Support
Keymaster'Hamilton' wrote:I noticed you have made font for the selected row bold for all columns except the first one – I suspect this may be an oversight not to include the first column?Please show what you mean.
September 24, 2012 at 8:41 am #48976Hamilton
ParticipantHi Serge,
Please refer to the attached demo program. The demo shows two list views – the top one is TsListView with the Golden skin, the lower one is an unskinned TListView. Some issues you might notice:
1. Select the first row in the top grid. Then click in the edit to give it focus. Mouseover the top grid and notice the second row goes bold in all columns except the first one. The first row doesn't go bold. The TListView is there as a control – it shows that the VCL control doesn't make the selected row bold in any circumstance.
2. In the code, remove the code from the CustomDrawItem and CustomDrawSubItem procedures, save to remove the declaration and recompile. You'll now notice that the TsListView makes the selected row bold in all columns except the first one.
I was consistently getting a combination of issues #1 and #2 above right up until the point where I attached the code – then I went to check something to write this thread and it didn't happen any more. I have no idea why and no time to work it out right now, but basically I was getting the bold row at the same time as having the colored rows.
Another thing I noticed intermittently was that fast mouse-over movements when the grid had focus sometimes caused the row to be bold (as opposed to issue #1 above where it happens consistently when the edit control has focus).
HTH
Regards,
Hamilton
September 24, 2012 at 9:11 am #48979Support
KeymasterThank you, I see now and I'll fix it very soon.
-
AuthorPosts
- You must be logged in to reply to this topic.