PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Marty Francom on December 31, 2006, 05:20:24 AM

Title: Anyother possible bug with labels & frames
Post by: Marty Francom on December 31, 2006, 05:20:24 AM
Paul,
  I think I may have found a bug with the way FF is handling the BackStyle property of Labels and Frames.  I have forms that can have hundreds of Labels  I usuall like to set the BackStyle property to Transparent.
.
Recently I have change the backgrounds of the forms to pastel colors, the BackStyle property of Transparent should cause the label or the frame control to take the color of the the forms background.  
.
Many times these label will use Windows default light grey and not the forms background color.  Some forms will paint correctly and some will not. If I resent the BackStyle property (make it opaque then change it back to transparent) and recompile then it will be ok.  But after another recompiling the problem will re-appear.
.
Any ideas besides manually setting the color for the Label background and setting the Back style to opaque ?
Title: Anyother possible bug with labels & frames
Post by: TechSupport on January 03, 2007, 12:47:45 PM
Yes, there does seem to be some little issues there. When the Form color is changed then all Labels with Transparent backgrounds should update themselves. This does not seem to happen in the Designer, but the color is honored when the code is compiled. When the project is closed and re-opened then the correct color is set in the designer.

In your case, do any of the Forms in question have the TabControlChild property set?
Title: Anyother possible bug with labels & frames
Post by: TechSupport on January 03, 2007, 01:00:54 PM
OK, I fixed the problem with the Labels not changing color when the parent Form changes color (for Transparent Labels). The fix will be int he next update.