Floating point increase/decrease format - %df

Supplies an spin control button to go with a %rf (Edit Floating Point) edit box. %df (Spin for Float) takes one DOUBLE PRECISION argument that specifies the amount the value in the edit box is to be increased or decreased when the user clicks on the control. The resulting value is always a multiple of the increase. A call-back function can be supplied with the corresponding %rf format. For example

DOUBLE PRECISION x
INTEGER i,winio@
EXTERNAL cb_func
i=winio@('%df%^rf',1D0,x,cb_func)

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited