Click or drag to resize

VBPattern Properties

The VBPattern type exposes the following members.

Properties
  NameDescription
Public propertyEnabled
Specifies whether the sought-for control is enabled (true) or disabled (false). Disabled controls are typically displayed in grey.
(Inherited from ControlPattern.)
Public propertyIndex
For windowed objects, Index is the current front-to-back position (1-based) of the sought-for window among other windows that have the same name. For windowless objects, this is the value of the "native" Index property. Check the index value in the TestLeft UI Spy panel before writing code.
Public propertyVBObjectName
The name of the sought-for object as it is specified in the application's source code ("native" name). You can use wildcards (* or ?) or specify regular expressions (regexp:...).
Public propertyVisible
Specifies whether the sought-for controls are visible (a control may be out of the screen, but still visible).
(Inherited from ControlPattern.)
Top
See Also