After experimenting with the new %~fl feature, which resolves some of the issues my end users have with using %fl, i notice the following issues
The value does not change back to black once the value returns to within the bound values
Once the red 'x' disappears it leaves a shadow which covers adjacent controls
If either the red 'x' or its shadow is clicked then the program crashes. traceback window on win XP, 'program stopped working' on win 10
PROGRAM TEST IMPLICIT NONE DOUBLE PRECISION VAL_SET, VAL_MIN, VAL_MAX INTEGER IWIN,ival,ival_min,ival_max VAL_MIN = 1.2345D0 VAL_SET = 2.0D0 VAL_MAX = 10.0D0 ival = 8 ival_min = 7 ival_max=12 IWIN = WINIO@('%ca[float limit test]&') IWIN = WINIO@('%~fl&', VAL_MIN, VAL_MAX) IWIN = WINIO@('%rf&', VAL_SET) IWIN = WINIO@('%ff&') IWIN = WINIO@('%~il&', iVAL_MIN, iVAL_MAX) IWIN = WINIO@('%rd&', iVAL) IWIN = WINIO@('%ff&') IWIN = WINIO@('%cn%bt[OK]&') IWIN = WINIO@('%ff') END
steve