Version 2.3 introduced new label styles and here is why.

Before v2.3 the label styles available were simply Normal and Title. It was assumed that you could safely use either of these on any of the control backgrounds. It did not matter if the background was a panel using PanelClient or a group control using ControlClient as the background style.

However, this did not work for the builtin styles of Office 2007. In the Office 2007 Black color scheme the panel is pitch black and the control client is bright white. Completely opposite and so the only color that could have been used for text on both of these would be something like a gray colour. But this would not have matched the actual colors needed to mimic Office 2007.

So in version 2.3 we introduce two versions of the label styles, one set approriate for a panel background and another set for a control background. These are Normal (Panel), Title (Panel), Normal (Control) and Title (Control). Use the first two when placing your text label onto a panel background and the last two for a control background.

Here you can see an example with the Blue color scheme, where it does not matter if you forget and use the wrong setting.

Under Silver it does not matter if you choose the wrong setting.

But if the user switches to Black, you hosed!

So choose the correct style when creating your labels! And remember to test your application under each builtin palette for best effect.

Leave a Reply