You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

The default custom color of the tab pane.

Usage

Set_Property(OLECtrlEntID, "OLE.CustomPaneColor", ColorFill)

Values

Any valid ColorFill value.

Default: "None"

Remarks

The CustomPaneColor property established a custom color for the tab pane that is unique to your needs. The tab pane is the are where control reside, which excludes the tabs themselves. By default, the tab pane is themed, so for this to work, you must turn off the AllowXPTheme property. Once that is done, you may set this to any ColorFill value you wish. Note also, however, that the TabColors property allows you to set the pane color for each tab. So, if you have a green tab, you can make the pane turn green only when that tab is selected. You would use this property more as a fallback default color to be used for all panes that don't specify their own pane color.

Example

// Set the default pane color to shiny red
Set_Property(@Window:".OLE_TAB", "OLE.AllowXPTheme", 0)
Set_Property(@Window:".OLE_TAB", "OLE.CustomPaneColor", "Vertical(Gradient(Red L=90, Red L=80, 30%), Gradient(Red L=75, Red L=80), Border(Red))")

See Also

AllowXPThemeColorFillTabColors

  • No labels