Tagor Posted February 8, 2007 Posted February 8, 2007 I try to make a tabbed browser: GuiCtrlCreateTab(10, 10, 930, 630) GuiCtrlCreateTabItem("Tab 1") $oIEstart = ObjCreate("Shell.Explorer.2") $GUIActiveXstart = GUICtrlCreateObj($oIEstart, 12, 34, 924, 602) $oIEstart.navigate("test.html") GuiCtrlCreateTabItem("Tab 2") $oIEstart = ObjCreate("Shell.Explorer.2") $GUIActiveXstart = GUICtrlCreateObj($oIEstart, 12, 34, 924, 602) $oIEstart.navigate("test.html") GuiCtrlCreateTabItem("Tab 3") $oIEstart = ObjCreate("Shell.Explorer.2") $GUIActiveXstart = GUICtrlCreateObj($oIEstart, 12, 34, 924, 602) $oIEstart.navigate("test.html") But if I make several tabs then shortcuts don't work anymore. Any idea how to fix this?
/dev/null Posted February 8, 2007 Posted February 8, 2007 I try to make a tabbed browser:But if I make several tabs then shortcuts don't work anymore. Any idea how to fix this?sorry, not enough information/code to help you.... __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *
Tagor Posted February 16, 2007 Author Posted February 16, 2007 sorry, not enough information/code to help you....What information/code do you need? Actually besides the GUI windows this is all code.
lod3n Posted February 16, 2007 Posted February 16, 2007 (edited) Don't name all of your variables the same, and make sure you close your tab item definition with a GuiCtrlCreateTabItem(""): GuiCtrlCreateTab(10, 10, 930, 630) GuiCtrlCreateTabItem("Tab 1") $oIEstart1 = ObjCreate("Shell.Explorer.2") $GUIActiveXstart1 = GUICtrlCreateObj($oIEstart1, 12, 34, 924, 602) $oIEstart1.navigate("test.html") GuiCtrlCreateTabItem("") GuiCtrlCreateTabItem("Tab 2") $oIEstart2 = ObjCreate("Shell.Explorer.2") $GUIActiveXstart2 = GUICtrlCreateObj($oIEstart2, 12, 34, 924, 602) $oIEstart2.navigate("test.html") GuiCtrlCreateTabItem("") GuiCtrlCreateTabItem("Tab 3") $oIEstart3 = ObjCreate("Shell.Explorer.2") $GUIActiveXstart3 = GUICtrlCreateObj($oIEstart3, 12, 34, 924, 602) $oIEstart3.navigate("test.html") GuiCtrlCreateTabItem("") Edited February 16, 2007 by lod3n [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]
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