Silverfrost Logo About Us | Contact Us
 

%dd - Spin for Integer

Purpose

To insert a spin wheel for an integer edit box (%rd) or a string edit box (%rs).

Syntax

winio@('%dd', step)
integer step     (input)

Description

%dd can be used with %rd in order to provide an attached spin wheel.

step is the size of the increase/decrease. The resulting %rd value will be a multiple of step. Any call-back function should be attached to %rd. %dd is placed before the %rd to which it refers.

%dd can also be used with %rs. In this case it should have a non-zero step value (which is ignored). The subsequent %rs box should have a call-back function which uses clearwin_string@('CALLBACK_REASON') to identify the reasons 'SPIN_UP' and 'SPIN_DOWN'. The call-back function must provide the response to the spin (for example, by cycling through the days of the week).

Example

winio@('%dd', 1L)

See also

%rd - Edit Integer, %il - Integer Limit, %rs - Edit String

 

 

 

Copyright © 1999-2017 Silverfrost Limited