Jump to content
Sign in to follow this  

Tab size

Recommended Posts

Can you make the tabs grow as the size of the window grows ?So if you pulled the window to the right the tab would move with it . Know what I mean .

Share this post

Link to post
Share on other sites

You want to look at the "Docking Values Table" in the documentation for GUISetControlEx:

Opt("GUINotifyMode", 1)
GuiCreate("MyGUI", 392,273,(@DesktopWidth-392)/2, (@DesktopHeight-273)/2 , 0x04CF0000)

$tab_1 = GUISetControl("tab", "Tab 1", 10, 10, 380, 260)
$tabitem_1 = GUISetControl("tabitem", "Tabitem 1", 0, 0, 0, 0)
$tabitem_2 = GUISetControl("tabitem", "Tabitem 2", 0, 0, 0, 0)
$tab_close = GUISetControl("tabitem","",-99,-99,1,1) ;close tab

GUISetControlEx ($tab_1, 0, 34) ;$GUI_DOCKLEFT + $GUI_DOCKTOP


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

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