Mode Property (AThumb)

Returns or sets how the object responds to user input.

Syntax

Object.Mode [ = enMode ]

The Mode property syntax has the following parts:

 

Name

Type

Description

Object

AThumb

AThumb object

enMode

enumAThumbMode

An integer specifying the predefined style of the object.

Where

enumAThumbMode can be one of the following:

 

Name

Value

Description

atmbModeSelectable

0 *

Selectable. The thumb responds to mouse and keyboard inputs and programmatic changes.

atmbModeIndicator

1

Indicator. The thumb does not respond to mouse's inputs. The value of the thumb can only be changed programmatically.

atmbModeMax

2

Maximum. The thumb always contains the maximum value that other thumbs have had since statistics were reset. The thumb does not respond to mouse's inputs and its value can not be set programmatically.

atmbModeMin

3

Minimum. The thumb always contains the minimum value that other thumbs have had since statistics were reset. The thumb does not respond to mouse's inputs and its value can not be set programmatically.

atmbModeMean

4

Mean. The thumb always contains the mean of the values that other thumbs have had since statistics were reset. The thumb does not respond to mouse's inputs and its value cannot be set programmatically.

Comments

 
Example

The following statement changes the AThumb's Mode to be an indicator. The thumb does not respond to mouse's inputs. The value of the thumb can only be changed programmatically:

tmb1.Mode=AthmModeIndicator

Applies to

AThumb

See Also

ASlider, ASlider.ThumbActive, Name, Style, Value