hey ich möchte eine progressanzeige haben die von 7 auf 0 zurück geht und zusätzlich eine anzeige die den derzeitigen stand anzeigt also 7,6,5,4,3,2,1 mit dezimal bruch oder ohne is mir relativ egal dabei hab ich aber das problem das GUICtrlCreateProgress automatisch einen höchstwert von 100 verwendet und das is mit 7 nich ganz so praktisch^^ habs bis jetz ungefährt gemacht sieht so aus :
[autoit]#include <GUIConstants.au3>
GUICreate("7 sek",1024,768)
$progess = GUICtrlCreateProgress(0,192,1024,384)
$label = GUICtrlCreateLabel("0",512,384,36,17)
GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT)
GUISetState (@SW_SHOW)
Do
For $i = 100 To 0 Step -1
GUICtrlSetData($progess,$i)
Sleep(50)
Next
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd
until $msg = $GUI_EVENT_CLOSE
wie kann ich nun die progressanzeige zu max 7 machen? sodass es genau aufgeht??