Au3 input与UpDown组合控件可以微调了+-0.1
本帖最后由 Mixrelax 于 2018-12-29 22:40 编辑Global $updown_a4_cy_sm = GUICtrlCreateUpdown($a4_cy_sm)
GUICtrlSetLimit(-1, 0, -1)
$Numid = GUICtrlRead($Discount_input)
If $Numid = -1 Then
$Discount = StringFormat('%.1f', Execute($Discount & '-0.1'))
ElseIf $Numid = 0 Then
$Discount = StringFormat('%.1f', Execute($Discount & '+0.1'))
EndIf
一个小技巧而已。以0和-1为线。
页:
[1]