Uses the FillParentBackground to render the parent form's entire background.

Usage

Set_Property(OLECtrlEntID, "OLE.FillParentBackground", Boolean)

Values

[True | False

Default: False

Remarks

The FillParentBackground property is something we added so we could add ColorFill technology to the entire background of an OI form. First, you set the CustomPaneColor property to the ColorFill you desire. Then set this to 1 to force the entire form's background to use the ColorFill no matter the size or location of the tab control.

Example

// Make the entire background use a light gray gradient
Set_Property(@Window:".OLE_TAB", "OLE.AllowXPTheme", 0)
Set_Property(@Window:".OLE_TAB", "OLE.CustomPaneColor", "Vertical(Gradient(White, Gray))")
Set_Property(@Window:".OLE_TAB", "OLE.FillParentBackground", 1)

See Also

AllowXPThemeColorFillCustomPaneColor

  • No labels