Declare a button, set it up how you want it, then add it to a GUI object's control collection. Then set it's location. The location will be based off of the location of the GUI object you are placing it on.
Code:
dim button1 as new button
button1.width = 200
button1.height = 100
button1.text = "weee!"
me.controls.add (button1)
button1.top = 100
button1.left = 100
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.