Jump to content

GUI Tab help


Recommended Posts

GUICtrlCreateTab(0,0,500,400)
GUICtrlCreateTabItem("taboutside") ; a tab on the outside
GUICtrlCreateTab(0,60,500,340)
GUICtrlCreateTabItem("tabinside") ; this should be a tab on the inside because a tab was created inside the first tab item
GUICtrlCreateTabItem("") ; close the tab on the inside
GUICtrlCreateTabItem("") ; close the tab on the outside
I'd like to create a tab inside a tab but I was unsuccessful so far. Here is an example of the code I used. Any help is appreciated.

Link to comment
Share on other sites

Somewhat cryptically from the help file under GuiCtrlCreateTab():

ONLY one Tab control can be created by window. But a script can creates several windows having a tab in.

OK, so the syntax reads like Google-Translate output, but still...

:idea:

Edit: GEOSoft posted a link below to an example of a method using child GUIs. Still only one Tab control per GUI, but the child GUIs can each have a tab control. Hinted at, but not clearly said in the help file.

Edited by PsaltyDS
Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

http://www.autoitscript.com/forum/index.php?showtopic=63489&view=findpost&p=473753

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

http://www.autoitscript.com/forum/index.php?showtopic=63489&view=findpost&p=473753

Thank you for that. That was EXACTLY what I was looking for. I knew it could be done; it is done in some Windows applications. So I know what I've got to do now, thanks again. :idea:. Happy Days.
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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