Jump to content
Sign in to follow this  

Change data of a control

Recommended Posts


How do I change data of a control?

Example (just an example, not real)

$variable = "Normal text"

$variable1 = "New text"

$inputbox = guictrlcreateinput ($variable, 10,10)

$button = guictrlcreatebutton ("Change data of the control",50,50)

If the button is pressed, $variable will receive what $variable1 has and display in the input box "New text".

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