ShowFocusMode Property

Measurement Studio User Interface

ShowFocusMode Property

Syntax

Object.ShowFocusMode

Data Type

CWShowFocusModes

You can use the following constants with this data type:

  • cwShowFocusControl–Indicates graphically if the control has the focus.
  • cwShowFocusNone–Does not indicate graphically if the control has the focus.

Applies To

CWKnob

CWSlide

Purpose

Specifies how the control indicates that it has the focus.

Example

'Set the slider to show a focus rectangle
CWSlide1.ShowFocusMode = cwShowFocusControl