|
-
Nov 17th, 2000, 04:04 PM
#1
Thread Starter
Addicted Member
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!!!
-
Nov 17th, 2000, 04:16 PM
#2
Yes.
Code:
Me!ControlName.Caption = "Hello!"
-
Nov 17th, 2000, 04:48 PM
#3
Thread Starter
Addicted Member
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!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|