Jump to content

Recommended Posts

Posted (edited)

- Figured Out -

Sorry, can't delete post.

incase you are woundering...

Func _DeletePuzzleGUI()
   Local $thisRow = 0
   Local $thisCol = 0
  
   MsgBox(1,"location","delete")
   ; Delete any existing groups/combos
   While ($thisRow < $puzzleSize)
   While ($thisCol < $puzzleSize)
   GUICtrlDelete($combo_puzzle[$thisRow][$thisCol][0])
   $thisCol += 1
   WEnd
   $thisCol = 0
   $thisRow += 1
   WEnd
  
   $thisRow = 0
   $thisCol = 0
   While ($thisRow < $boxSize)
   While ($thisCol < $boxSize)
   GUICtrlDelete($group_puzzle[$thisRow][$thisCol])
   $thisCol += 1
   WEnd
   $thisCol = 0
   $thisRow += 1
   WEnd
   MsgBox(1,"location","deleted puzzle")
EndFunc
Edited by Mita

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...