What is the best way to accomplish a transparent background?
I just installed 8.2 today and started looking at the glyph based on the online documentation. I haven't been able to determine how to change the background color that way though. Are there any examples out there anywhere?
When I set the color to transparent, it just appears to ignore it or it has no effect and the background stays white. If I change the size of the checkbox to just large enough to hold the box itself, there is still a white edge around it.
What happened when you set the color to transparent? The way that .NET transparency works is that a control will ask the parent to draw into the transparent region of the control, so if the control isn't a child of the background area that you want to see, it won't pick up that background.
As for changing the color of the checkbox itself, there was a new feature added in 8.2 for controlling the glyph associated with the checkbox that you should look into.
-Matt
Something else I would like to do is set the background color within the box itself (not the overall background around the box which I want transparent no matter what) to the same color as the textboxes are when they have focus when focus is on the checkbox control. That way, when the user tabs through controls they can tell when they are on the checkbox just like with the other controls.
I can do that, and I tried, but it doesn't make the background transparent.
You should just be able to set the Appearance.BackColor to Color.Transparent.