also
ich möchte das wenn ich ein knopf drücke der Ladebalken um "4" zum Beispiel weiter geht.
Wie mache ich das?:
Spoiler anzeigen
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 625, 445, 192, 124)
$Progress1 = GUICtrlCreateProgress(32, 336, 473, 97)
$Button1 = GUICtrlCreateButton("+", 240, 120, 281, 41, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $button1
set ()
EndSwitch
WEnd
func set ()
guictrlsetdata($progress1, +4)
endfunc
beim ersten mal klicken wird es zwar gesteigert, aber beim zweiten nicht mehr,. warum ist das so?