Panel

Set the color and border properties for all panels and toolbars in the application.

Default value:

None

File section:

[application]

Syntax

panel {=} upanel(PropertiesList)

Arguments

PropertiesList—semi-colon delimited list of property-value pairs.

Panel Properties

When a color property is not defined, the Windows default is used.

Property Description More Information
BackColor Background color of the panel and panel buttons. Background Color (BackColor)
BackColorFill Style of the background color: flat or gradient. Gradient Fill Style (BackColorFill)
BackColorHover Color of the panel button when the mouse hovers over it. Hover Background Color ( BackColorHover)
BackColorLocked Color of the button when the it is selected and stays depressed. BackColorLocked
BackColorSelect Background color of the selected panel item. Active Background Color (BackColorSelect)
BorderColorHover Color of the border when the mouse cursor rests on a panel button. BorderColorHover
BorderColorLocked Color of the panel button border when it is selected and stays selected. BorderColorLocked
BorderColorSelect Color of the border around a selected panel button. BorderColorSelect

Description

Use the Panel setting control the appearance of all panels and toolbars in the application. The specified properties are only applied if the ButtonStyle setting is set to 9 (user-defined). For example:

;usys.ini
[application]
Panel = upanel(backcolor=control)

[upi]
ButtonStyle=9

Important: Using the Panel setting bypasses the Windows theme manager, so you need to explicitly specify all the properties you want to control.

Related Topics