General information
Category:
Forms & Form designer
I use Windows 2000, but I guess it should be the same. I frequently change Windows colors to test that my applications conform to the standards. In Windows 2000, if you let the label.BackColor to default it changes with system changes; so first be sure label.backColor is not in bold.
If it does not work you can create a class and in the Init() method just put:
this.backColor = this.parent.backColor
Or use the API function getSysColor().
>I have a setup form which includes two sections. The first one is about the status bar options and the other about the regional information. So, I have those two sections surrounded by a rectangle. Then, on the upper left of each rectange, I have the title. This is having a bold black text. In order to have the text to be visible, I have put it Opaque. So, the text appears on top of the rectangle. But, the text need to have a background color. I am basically trying to have the same background color as the Windows settings of the user. Since I have moved to Windows XP, I see that the background color is different than the pageframe color which those objects sit on. How can I synchronize both?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only