WeMartiansAreFriendly Posted April 24, 2007 Share Posted April 24, 2007 hey all, i'm probably overlooking something simple i need this to create one tab, and then 3 tabs more inside of it.. but what it does is just creates 4 tabs.. it's driving me crazy #include <GUIConstants.au3> Global $hMain, $Tab[3] $hMain = GUICreate("", 565, 401, 149, 111, BitOR($WS_MAXIMIZEBOX,$WS_SIZEBOX,$WS_THICKFRAME,$WS_OVERLAPPEDWINDOW,$WS_TILEDWINDOW,$WS_TABSTOP)) $Tab[1] = GUICtrlCreateTab(10, 13, 526, 371) GUICtrlCreateTabItem("TabSheet1") $Tab[2] = GUICtrlCreateTab(28, 54, 482, 312) GUISwitch($hMain,$Tab[2]) GUICtrlCreateTabItem("TabSheet2") GUICtrlCreateTabItem("TabSheet3") GUICtrlCreateTabItem("TabSheet4") GUICtrlCreateTabItem("") GUICtrlCreateTabItem("") GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else EndSelect WEnd Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet() Link to comment Share on other sites More sharing options...
Gabburd Posted April 24, 2007 Share Posted April 24, 2007 Try this:http://www.autoitscript.com/forum/index.ph...rlCreateTabItem Link to comment Share on other sites More sharing options...
WeMartiansAreFriendly Posted April 24, 2007 Author Share Posted April 24, 2007 Try this:http://www.autoitscript.com/forum/index.ph...rlCreateTabItemnot as elagant as i would like, but it works thanks!i'm going to file a feature request.. Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet() Link to comment Share on other sites More sharing options...
GEOSoft Posted April 25, 2007 Share Posted April 25, 2007 i'm going to file a feature request..Good luck with that. I would love to see it too but it's been requested before.I've had a bit of success doing it by creating child windows on the first level tab item George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" 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