Showing posts with label VCL. Show all posts
Showing posts with label VCL. Show all posts

Monday, February 15, 2010

QC82143

I've just submitted QC report 82143 about Controls.TWinControl.ControlAtPos not finding nested child controls.
I've found the bug (it seems) when trying to answer this question on Stack Overflow.
My suggested fix is included in the description of the report.

Saturday, May 05, 2007

QC45527


I've submitted QC report 45527 about a small, probably infrequently encountered issue with TCheckListBox: when themes are not used and you're using the Flat style, horizontal scrolling sometimes causes the checkboxes not to be redrawn properly.
Attached to the report are more details, screenshots and a sample project.

The problem somehow seems to be related to setting the clipping region in TCheckListBox.DrawCheck method. I was unable, so far, to find out the exact cause of the problem.

My proposed workaround which prepares an in-memory bitmap of the checkboxes and uses no clipping on the control's canvas directly is also attached to the report.