Duplicate a Control

pdabasic

Active Member
Licensed User
Hello!

:sign0085:

How can I duplicate a Control like in the designer?
I would like to duplicate some controls with a sub.

Thank you
 

klaus

Expert
Licensed User
Longtime User

mjcoon

Well-Known Member
Licensed User
B4X:
AddTextBox ("Form1","TextBox1", 20, 20, 50, 25, "")

And many of the control properties can be "got" from an existing one and applied to the new one, giving the effect of duplication.

Mike.
 
Top