Jump to content
Sign in to follow this  
rambo3889

child gui under a tab

Recommended Posts

rambo3889

Like the title say my question is :

Is it possible to make a child gui under a tabitem?

Any answers is welcome

Edited by rambo3889

My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! you’re the best in town Fight!

Share this post


Link to post
Share on other sites
GaryFrost

Yes and No

The way I've done it in the past is create the main gui

create the child gui(s)

create the tab/tabitems

case $msg = $main_tab
  ;set all the child gui(s) to hidden
  ; example
   GUICtrlSetState(@SW_HIDE, $tab1)
   GUICtrlSetState(@SW_HIDE, $tab2)
   $tabidx = GUICtrlRead($main_tab)
   select

   case $tabidx = 0
     GUICtrlSetState(@SW_SHOW, $tab1)
   case $tabidx = 1
     GUICtrlSetState(@SW_SHOW, $tab2)
   endselect

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.