I am trying to get an Up/Down counter to change by 0.1 increments.
I can get it to go up OR down by 0.1. But if I go UP, then back down, it still goes up for a while, then it goes down from a higher number. The same thing happens when I go DOWN: If I go down, then back up, it still goes down for a while, then goes up again from a lower number. I'm baffled by that action.
This is the test code:
#include <GUIConstantsEx.au3>
#include <MsgBoxConstants.au3>
#
DickG,
You can play around with the UpDown increment, but I usually cheat like this:
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <StaticConstants.au3>
#include <EditConstants.au3>
$iStart = 10
$iMax = 20
$iMin = 0
$hGUI = GUICreate("Test", 500, 500)
$cDummy_Input = GUICtrlCreateLabel(StringFormat("%.01f", $iStart) & " ", 40, 10, 50, 20, BitOr($SS_RIGHT, $SS_CENTERIMAGE))