Jump to content

Recommended Posts

Posted

Hi,

I am using a label to create a black area on my gui, and I want it to change size when a button is clicked, eg. click a button on my gui, and the black box grows by 10 pixel wide.

How do I do this? If it is not possible, is there another way to achive this?

Posted

Hi,

I am using a label to create a black area on my gui, and I want it to change size when a button is clicked, eg. click a button on my gui, and the black box grows by 10 pixel wide.

How do I do this? If it is not possible, is there another way to achive this?

GUICtrlSetStyle work??
Posted

Hang on. If you mean you set the bkg colour of it to be black, then i miss read it. Delete the control with GUICtrlDelete and Recreate it with the new size.

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