Fatal510 Posted February 10, 2008 Posted February 10, 2008 (edited) When i go to redo my GUI's in koda. i go file>import from .au3 and it says it loaded the the gui and shows its name on the form list but wont allow me to view it. im using the lastest koda beta. same thing happens with release version. and it happens to all my gui's Edited February 10, 2008 by Fatal510
Zedna Posted February 10, 2008 Posted February 10, 2008 Post your AU3 code. I think you should remove all non GUI code from your AU3 before import to have bigger chances to be successfull. Resources UDF ResourcesEx UDF AutoIt Forum Search
Fatal510 Posted February 10, 2008 Author Posted February 10, 2008 expandcollapse popup$hMain = GUICreate(ReturnRandomString(Random(7, 12)), 652, 292, 219, 168) $oStatus = GUICtrlCreateLabel("Status:", 5, 252, 379, 16, $SS_SUNKEN) $oStatusCon = GUICtrlCreateLabel("Connection: Not Connected", 386, 252, 263, 16, $SS_SUNKEN) $oVersion = GUICtrlCreateLabel("Loot Watcher " & $sVersion, 275, 5, 110, 17) GUICtrlSetFont(-1, 9, 800, 0, "Arial") $oOnTop = GUICtrlCreateCheckbox("Always On Top", 550, 5, 97, 17) $Tab1 = GUICtrlCreateTab(5, 5, 645, 245) GUICtrlSetResizing(-1, $GUI_DOCKWIDTH + $GUI_DOCKHEIGHT) $TabSheet1 = GUICtrlCreateTabItem("Loot") GUICtrlSetState(-1, $GUI_SHOW) $oLootListEpic = GUICtrlCreateListView("Item |#", 9, 71, 153, 168, $WS_VSCROLL) GUICtrlSetColor(-1, 0xA335EE) $oLootListRare = GUICtrlCreateListView("Item |#", 169, 71, 153, 168, $WS_VSCROLL) GUICtrlSetColor(-1, 0x1EFF00) $oLootListUncommon = GUICtrlCreateListView("Item |#", 329, 71, 153, 168, $WS_VSCROLL) GUICtrlSetColor(-1, 0x0070DD) $oLootListJunk = GUICtrlCreateListView("Item |#", 489, 71, 153, 168, $WS_VSCROLL) $Label4 = GUICtrlCreateLabel("Epic:", 9, 54, 28, 17) GUICtrlSetFont(-1, 8, 800, 0, "Arial") GUICtrlSetColor(-1, 0x0C3550) $Label5 = GUICtrlCreateLabel("Rare:", 169, 54, 30, 17) GUICtrlSetFont(-1, 8, 800, 0, "Arial") GUICtrlSetColor(-1, 0x0000FF) $Label6 = GUICtrlCreateLabel("Uncommon:", 329, 54, 61, 17) GUICtrlSetFont(-1, 8, 800, 0, "Arial") GUICtrlSetColor(-1, 0x00FF40) $Label3 = GUICtrlCreateLabel("Common/Poor:", 489, 54, 91, 17) GUICtrlSetFont(-1, 8, 800, 0, "Arial") $Label7 = GUICtrlCreateLabel("Money:", 9, 32, 40, 17) GUICtrlSetFont(-1, 8, 400, 0, "Arial") GUICtrlCreatePic(@ScriptDir & "\Files\money_gold.gif", 84, 29, 15, 15) GUICtrlCreatePic(@ScriptDir & "\Files\money_copper.gif", 165, 29, 15, 15) GUICtrlCreatePic(@ScriptDir & "\Files\money_silver.gif", 127, 29, 15, 15) $oGold = GUICtrlCreateLabel("0", 52, 29, 30, 15, BitOR($SS_RIGHT, $SS_RIGHTJUST)) GUICtrlSetFont(-1, 8, 400, 0, "Arial") $oSilver = GUICtrlCreateLabel("0", 100, 29, 25, 15, BitOR($SS_RIGHT, $SS_RIGHTJUST)) GUICtrlSetFont(-1, 8, 400, 0, "Arial") $oCopper = GUICtrlCreateLabel("0", 144, 29, 20, 15, BitOR($SS_RIGHT, $SS_RIGHTJUST)) GUICtrlSetFont(-1, 8, 400, 0, "Arial") $TabSheet2 = GUICtrlCreateTabItem("Chat") $oChatInput = GUICtrlCreateInput("", 14, 216, 489, 22) GUICtrlSetFont(-1, 8, 400, 0, "Arial") $oChatSend = GUICtrlCreateButton("Send", 509, 216, 41, 21, 0) GUICtrlSetFont(-1, 8, 400, 0, "Arial") $oChatBox = GUICtrlCreateList("", 13, 32, 628, 183, BitOR($LBS_SORT, $WS_HSCROLL, $WS_VSCROLL)) GUICtrlSetData(-1, "") GUICtrlSetFont(-1, 8, 400, 0, "Arial") $oClearChat = GUICtrlCreateButton("Clear Chat Log", 556, 216, 89, 21) GUICtrlSetFont(-1, 8, 400, 0, "Arial") GUICtrlCreateTabItem("") $mStart = GUICtrlCreateMenuItem("&Start", -1) $mClear = GUICtrlCreateMenuItem("&Clear List", -1) $mLoad = GUICtrlCreateMenuItem("&Load Log", -1) $mSave = GUICtrlCreateMenuItem("&Save Log", -1) $mSettings = GUICtrlCreateMenuItem("&Settings", -1) $mHelp = GUICtrlCreateMenu("&Help") $mSubHelp = GUICtrlCreateMenuItem("Help", $mHelp) $mAbout = GUICtrlCreateMenuItem("About", $mHelp) GUIRegisterMsg($WM_NOTIFY, "WM_Notify_Events") GUISetState(@SW_SHOW) ive tried just pasting that into a new .au3 and importing but still does not work
Zedna Posted February 10, 2008 Posted February 10, 2008 replace: $hMain = GUICreate(ReturnRandomString(Random(7, 12)), 652, 292, 219, 168) by: $hMain = GUICreate(10, 652, 292, 219, 168) Resources UDF ResourcesEx UDF AutoIt Forum Search
Zedna Posted February 11, 2008 Posted February 11, 2008 (edited) That didnt do anything After my correction I successfully imported GUI. Note: I used Koda version 1.7.0.1 Here is resulted hMain.kxf: Edited February 11, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now