Jump to content

Form Resizing


jaswicki
 Share

Recommended Posts

First of all, Hi and welcome to the forum!

If you by form mean GUI/window, then the answer is yes. See WinMove() in the helpfile.

WinMove ( "title", "text", x, y [, width [, height[, speed]]] )

Edited by AdmiralAlkex
Link to comment
Share on other sites

Thanks and thank you for the quick reply. Is there any way for it to not redistribute the controls across the form when it resizes? I have other hidden controls on the form that I want to show rather than having the visible controls auto fill into the empty space.

Link to comment
Share on other sites

You can either change the default behaviour with Opt("GUIResizeMode", 0) (change the zero with the right value from the "Docking Values Table" in GUICtrlSetResizing() or use GUICtrlSetResizing() on every control you want to change.

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