Jump to content

Recommended Posts

Posted

I am trying to create a re-sizable GUI that has nested tab controls. I know a trick with which to do this is to put the second layer of tabs inside a child GUI and hide and show whatever child GUIs are needed to create the effect of switching from one sub-tab to another. My issue is when I try to resize a child GUI of a child GUI, my script seems to be stuck. Is there a better way to resize child GUIs, and are child GUIs meant to have further GUIs of their own?

In my code, I've commented out the line that causes the script to freeze, but I've tried to make it obvious which line that is so that once you see the rest of the script runs as it should, that one additional child GUI being resized causes problems.

Uncomment line 50 to see the error. "WinMove($ChildGUI2, "", $tRECT.Left + 30, $tRECT.Top + 30, $GUIWidth - 120, $GUIHeight - 120, 0)"

 

Test Resizing.au3

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...