Determines whether or not the button's background is drawn.

Usage

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

Values

[True | False]

Default: True

Remarks

The BackVisible property establishes whether or not the background of the button is drawn. Set this to 0 when you want a button consisting only of an image and/or text. Note that the special effects (hover, pressed, etc.) are still applied.

For example, here is what the button looks like using the Office XP Style while BackVisible is on:

Here is what the same button looks like when the BackVisible property is off.

Example

// Turn off button background 
Set_Property(@Window:".OLE_BUTTON", "OLE.BackVisible", 0)

See Also

Background

  • No labels