Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/VCL/Standard Controls/TRadioGroup    [ Add a report in this area ]  
Report #:  75253   Status: Closed
TRadioGroup renders incorrectly on glassframes
Project:  Delphi Build #:  12.0.3420.21218
Version:    12.1 Submitted By:   Erik Brandt
Report Type:  Basic functionality failure Date Reported:  6/25/2009 2:24:36 AM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    32 Bit Internal Tracking #:   270448
Resolution: Test Case Error (Resolution Comments) Resolved in Build: :
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
When a TRadioGroup is placed on a glassframe part of a form, you get the following rendering issues:

* Caption is invisible
* Radiobutton captions are invisible.
* When doublebuffering is enabled, the entire control is painted black.

See steps to reproduce and attached project.
Steps to Reproduce:
Create a new VCL project.
Set GlassFrame enabled to True.
Set GlassFrame.Right to around 200, so about half of the form is glass and the other half (left) is rendered normally.
Drop three TRadioGroups on the form. Place TRadioGroup1 on the left side. Place the two others on the right side.
Enable doublebuffering for TRadioGroup3.

Build and run the application.

Expected - Groupbox should render similarly to when placed on a non-glassframe part of a form.
Actual - Caption is invisible. Radiobutton captions are also invisible. With doublebuffering enabled, the entire control is painted black.

Workarounds
None
Attachment
GlassFrame.zip
Comments

None

Server Response from: ETNACODE01