Sign in to follow this  
Followers 0
DarkBoost

GUICtrlCreateTab inside a GUICtrlCreateTab = not working?

2 posts in this topic

Can I have tabs within tabs?

The example below simply adds the new tabs to the existing tabs rather than starts its own.

#include <GUIConstantsEx.au3>

Dim $w = 600
Dim $h = 600

GUICreate("", $w, $h)

GUICtrlCreateTab(10, 10, $w-20, $h-20)
    GUICtrlCreateTabItem("Question 1")
    GUICtrlCreateTabItem("Question 2")

    ; create new tab series in question 2
        GUICtrlCreateTab(30, 30, $w-60, $h-60)
            GUICtrlCreateTabItem("Boys")
            GUICtrlCreateTabItem("Girls")
        GUICtrlCreateTabItem("")
    ; end of tab

GUICtrlCreateTabItem("")

GUISetState()

While 1
    Dim $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            Exit
    EndSelect
WEnd

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  
Followers 0