Search Locate Previous Next Contents

Spin Box (SP)


Description
A numeric-entry field, with a pair of spin buttons to wind the contents up and down.

The reference field gives an increment for the contents, or is a vector of numbers or text with the valid values for the contents.

The buttons will spin the field through these values, but the user can jump by typing into the edit part if necessary. By default CPro will refresh other controls as the value spins – to have the new value notified only on release of the mouse, set Tracking=0.

Class Property Table
NameTypeDefaultDescription
HintString
StyleManyOf
ValueUserValue (simple number, or index into list)
StepRuntimeIncrement or Step List
DelayInt400Initial delay (ms)
IntervalInt50Repeat interval (ms)
TrackingBool1Update data every click
VisibleRuntimeBoolean singleton
ActiveRuntimeBoolean singleton


Continue to: Status Bar (ST)
© Copyright Causeway Graphical Systems Ltd 2003