index    previous    next
 
spinner

SPINNER

The SPINNER control is an entry field that allows a numeric value to be easily entered and adjusted by the user. Clicking on the up and down arrows on the side of the SPINNER causes the value to increase and decrease respectively. The steps by which the value is adjusted by the arrows depends on the value selected by the programmer. The speed with which the SPINNER adjusts the value depends on the length of time the user holds down the arrow. Initially it will be slow, but after a few seconds it speeds up.

The SPINNER control has an associated log function which is invoked when its value is changed by the user (either via the arrows or when entered directly via the keyboard).

The programmer refers to the log function as "log_func". It can be set via the "log_func_name" property in the "spinner control" dialog.