ComponentOne True DBInput Pro 8.0
SpinKeys Property (Spin)

 

Reference> Spin Object> Spin Object Properties> SpinKeys Property (Spin)

SpinKeys Property (Spin)

Sets/returns whether the control automatically increments or decrements the value when pressing the UP and DOWN keys.

Syntax

object.SpinKeys= boolean

Read/Write at run time and design time.

Values

True - Increment or decrement values when pressing the UP and DOWN keys. (Default)

False - UP and DOWN keys are disabled for incrementing and decrementing values.

Remarks

If the control or the Spin object is disabled or the ReadOnly property is set to True, or if the Up and the Down arrow keys are assigned to the Key object, the arrow keys will not function although this property is set to True. When the control is set to the free format entry, the spin keys will also not function, since the control treats all text as one field.

If set to False, clicking on the spin buttons will still cause values to increment or decrement.

The SpinUp and SpinDown events will be invoked when pressing the Up/Down arrow keys or clicking on the Up/Down arrow spin buttons to increment/decrement values within the current field.

See Also

Enabled Property (Spin)

ReadOnly Property (TDBTime)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback