Results 1 to 3 of 3

Thread: Help me please!!!!!!

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2000
    Location
    Carolina, Puerto Rico, USA
    Posts
    227
    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!!!


  2. #2
    Guest
    Yes.
    Code:
    Me!ControlName.Caption = "Hello!"

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2000
    Location
    Carolina, Puerto Rico, USA
    Posts
    227
    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!
    NievesJ

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width