Skip to main content

BackVisible Property

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

Definition​

Property "OLE.BackVisible" as Boolean

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:

BackVisible_Before

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

BackVisible_After

Example​

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

See Also​

Background