-
If I add a control to a form using
Set bLabel = form1.Controls.Add("VB.Label", ControlName)
ControlNAme is a string, can I manipulate that control at runtime?, like being able to move it, or making it do something? like close form or exit the program?
Thanks for your time!!!
-
Yes.
Code:
Me!ControlName.Caption = "Hello!"
-
Nope, that dosnt seem to work :(((
the problem is that im creating an interface like vb, it let the user move a control, in this case a button, and place it in another frame, now i want to try to enter code to this button at runtime, here is where my dream ends :-)
thanks tough!