Advertisement
BugFix

View Paste

Nov 4th, 2015
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. $fActive = False
  2.  
  3. While 1
  4.  
  5. Switch GUIGetMsg()
  6.  
  7. Case $GUI_EVENT_CLOSE, $idExit
  8. Exit
  9.  
  10. Case $idFileItem1
  11. call ("_Aufgabeerstellen")
  12.  
  13. Case $stop
  14. $fActive = False
  15.  
  16. Case $start
  17. $fActive = True
  18. Local $anzahl = _GUICtrlListView_GetItemCount($listview)
  19. if $anzahl > 0 Then
  20. call("_automode")
  21. EndIf
  22.  
  23. EndSwitch
  24.  
  25.  
  26. if $fActive Then
  27. Local $anzahl = _GUICtrlListView_GetItemCount($listview)
  28. if $anzahl > 0 Then
  29. call("_automode")
  30. EndIf
  31. EndIf
  32.  
  33.  
  34. WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement