%df - Spin for Float

Purpose

To insert a spin wheel for a floating point value.

Syntax

winio@('%df', step)
double precision step     (input)

Description

%df can be used with %rf (Edit Floating Point) in order to provide an attached spin wheel.

step is the size of the increase/decrease. The resulting %rf value will be a multiple of step. Any call-back function should be attached to %rf.

The value of the step can be changed dynamically by using the function SET_INCREMENT@. This function returns the old value for the increment or zero on failure.

SUBROUTINE SET_INCREMENT@( HWND, STEP )
INTEGER(7) HWND
DOUBLE PRECISION STEP

hwnd is the Windows handle of the controls obtained using %lc (Handle of Last Control).

Example

winio@('%df', 1.0D0)

See also

%rf (Edit Floating Point), %fl (Float Limit), %dd (Spin for Integer)

 

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited