Jump to content

Recommended Posts

Posted

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?

Posted

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 *

Posted

sorry, not enough information/code to help you....

What information/code do you need? Actually besides the GUI windows this is all code.
Posted (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 by lod3n

[font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]

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
  • Recently Browsing   0 members

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