tempman Posted January 4, 2013 Posted January 4, 2013 Hi, I didn't use AutoIt for a while. I know that this code below worked in a previous versions expandcollapse popup#NoTrayIcon #include <GuiConstants.au3> #include <File.au3> #include <WindowsConstants.au3> ; GUI GuiCreate("Title", 340, 300) GUISetOnEvent(-3,"close") $helpmenu = GuiCtrlCreateMenu ("Help") $aboutitem = GuiCtrlCreateMenuitem ("Author",$helpmenu) ; TAB GuiCtrlCreateTab(5, 5, 330, 250) GuiCtrlCreateTabItem("Search") #Region ; Tab 1 Items ; $button_1 = GUICtrlCreateButton ("...", 275, 90, 20, 20) $button_2 = GUICtrlCreateButton ("Find", 190, 190, 120, 40) $group_2 = GUICtrlCreateGroup ("Parameters", 30, 60, 280, 100) GUIStartGroup() GUICtrlCreateLabel ("Debug Log:", 40, 90) GUICtrlCreateLabel ("Nick:", 40, 120) $skypelog = GUICtrlCreateInput ("", 150, 90, 120, 20) $skypenick1 = GUICtrlCreateInput ("", 150, 120, 120, 20) $PATH = "" #EndRegion ; Tab 1 Items; GuiSetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $button_1 Msgbox(0,"Something","Something") Case $msg = $button_2 Msgbox(0,"Something","Something") Case $msg = $aboutitem Msgbox(0,"Something","Something") EndSelect WEnd Func close () Exit EndFunc GUIDelete() Exit but in v3.3.8.1 it doesn't show any buttons, labels or inputs Any hint?
Bowmore Posted January 4, 2013 Posted January 4, 2013 Your have forgotten to close the creation of Tab items.insertGUICtrlCreateTabItem("")before this line$PATH = "" "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook
tempman Posted January 4, 2013 Author Posted January 4, 2013 (edited) Thank you! Edited January 4, 2013 by tempman
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