Problem with using VB6 control in VB2005 (0/1)

  • Thread starter Thread starter Kevin
  • Start date Start date
K

Kevin

I've got a print control written in VB6 that I use for easy printing
reports in VB2005. It works great except for one thing. When I display
the print options dialog, the VB6 OptionButton controls appear black
(see attached pictures).

Has anyone else encountered this problem or know how to fix it?
 
Kevin said:
I've got a print control written in VB6 that I use for easy printing
reports in VB2005. It works great except for one thing. When I display
the print options dialog, the VB6 OptionButton controls appear black
(see attached pictures).

There is a bug in VB6' forms which will cause the background of themed
option buttons to be drawn in black. You can either fix it by putting the
option button onto a picturebox or disable Windows XP Visual Styles for the
application.
 
Thanks! I'll give the picturebox option a try.


There is a bug in VB6' forms which will cause the background of themed
option buttons to be drawn in black. You can either fix it by putting the
option button onto a picturebox or disable Windows XP Visual Styles for the
application.
 
Works perfectly. Thanks.


There is a bug in VB6' forms which will cause the background of themed
option buttons to be drawn in black. You can either fix it by putting the
option button onto a picturebox or disable Windows XP Visual Styles for the
application.
 
Back
Top