HighlightEnabled Property

Specifies whether the specified shape should have a "highlight" rectangle drawn around it when the mouse passes over it in the Run-time environment.

Syntax

object.HighlightEnabled[= Boolean]

Properties

The HighlightEnabled property syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

Boolean

Whether the shape should appear highlighted.

Settings

The settings for Boolean are:

Value

Description

True

The object should appear highlighted in the Run-time environment when the mouse passes over it.

False

The object should not appear highlighted in the Run-time environment when the mouse passes over it. (Default)

Remarks

The default setting for HighlightEnabled is False for all objects except Ole Controls.

HighlightEnabled is set to True in the following cases:

The user then has the option of setting HighlightEnabled back to False.

 

Applies To