Jump to content

Tabintab Or Multiple Tabctrls Result In Merged Tab


aec
 Share

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)")
GUICtrlCreateTabItem("")


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

GUISetState(@SW_SHOW)
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
    ;;;;;;;
    EndSelect
WEnd

Regards

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...