Jump to content

GUI's not showing up on import


Fatal510
 Share

Recommended Posts

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 by Fatal510
Link to comment
Share on other sites

$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

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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