cppman Posted February 19, 2006 Share Posted February 19, 2006 Okay, I made 2 list boxes so when u delete one it will add it to the other and delete it from the other one, and the same way around... but, when u click the ADD button windows gives me this error. "AutoIt has encountered an error and needs to close" is it just my os? is their something wrong with my code? Do $msg = GUIGetmsg() Select Case $msg = $Control_Add_Button $IncludeFile = _GUICtrlListGetCaretindex($Control_IncludeList_Have) _GUICtrlListAddItem($Control_Includelist_Have, $IncludeFile) _GUICtrlListDeleteItem($Control_Includes_ToBeUsed_List, $IncludeFile) Case $msg = $Control_Remove_Button $IncludeFile = _GUICtrlListGetCaretindex($Control_Includes_TobeUsed_List) _GUICtrlListDeleteItem($Control_IncludeList_Have, $IncludeFile) _GUICtrlListAddItem($Control_Includes_ToBeUsed_List, $IncludeFile) EndSelect Until $msg = $GUI_EVENT_CLOSE Miva OS Project Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now