Sign in to follow this  
Followers 0

Change data of a control

2 posts in this topic

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  
Followers 0