Jump to content
Sign in to follow this  

Tabintab Or Multiple Tabctrls Result In Merged Tab

Recommended Posts

I wanted to create a TAB control on a TabPage of another tab control.

No success.

Then I realized that even when I tried to create two separate tab controls on the same GUI the result was a merged TAB Control.

Is this the expected behaviour?

#include <GUIConstants.au3>
$Form1 = GUICreate("Multiple Tabs", 640, 400)

$Tab1 = GUICtrlCreateTab(50, 40, 200, 300)
$TabPage1_1 = GUICtrlCreateTabItem("Tab 1 (1)")
$TabPage1_2 = GUICtrlCreateTabItem("Tab 1 (2)")

$Tab2 = GUICtrlCreateTab(300, 40, 200, 300)
$TabPage2_1 = GUICtrlCreateTabItem("Tab 2 (1)")
$TabPage2_2 = GUICtrlCreateTabItem("Tab 2 (2)")

While 1
    $msg = GuiGetMsg()
    Case $msg = $GUI_EVENT_CLOSE
    Case Else


Share this post

Link to post
Share on other sites

as stated in the doc you can have only one tab by window. You need to create child window to have several tab.

If you search in the forum you will find some example how to do it .

Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...