bobheart Posted August 22, 2004 Share Posted August 22, 2004 How would I add more tabs to this ? I need atleast 10 tabs . will they fit or does it need to be a little wider . expandcollapse popup#cs - ### Generated by AutoBuilder 0.4 -- do not modify ### 394 271 0200000000000010 tab $tab_1 Tab 1 10 10 370 250 0 0 tabitem $tabitem_1 Tabitem 1 0 0 0 0 0 0 button $button_1 Button 1 300 230 70 20 0 0 tabitem $tabitem_2 Tabitem 2 0 0 0 0 0 0 button $button_2 Button 2 300 220 70 30 0 0 tabitem -99 -99 1 1 #ce - ### End of Dump ### ;Script generated by AutoBuilder 0.4 Opt("GUICoordMode", 1) Opt("GUINotifyMode", 1) GuiCreate("MyGUI", 392,266,(@DesktopWidth-392)/2, (@DesktopHeight-266)/2 , 0x04CF0000) $tab_1 = GUISetControl("tab", "Tab 1", 10, 10, 370, 250) $tabitem_1 = GUISetControl("tabitem", "Tabitem 1", 0, 0, 0, 0) $button_1 = GUISetControl("button", "Button 1", 300, 230, 70, 20) $tabitem_2 = GUISetControl("tabitem", "Tabitem 2", 0, 0, 0, 0) $button_2 = GUISetControl("button", "Button 2", 300, 220, 70, 30) $tab_close = GUISetControl("tabitem","",-99,-99,1,1) ;close tab GuiShow() While 1 sleep(100) $msg = GuiMsg(0) Select Case $msg = -3 Exit Case $msg = 2 ;;; Case $msg = $tab_1 ;;; Case $msg = $tabitem_1 ;;; Case $msg = $button_1 ;;; Case $msg = $tabitem_2 ;;; Case $msg = $button_2 ;;; EndSelect WEnd Exit Mail from here works on and off ? so if I don't get back right away it is because I didn't get the mail . Link to comment Share on other sites More sharing options...
bobheart Posted August 22, 2004 Author Share Posted August 22, 2004 Never mind I got it . Link to comment Share on other sites More sharing options...
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