Results 1 to 2 of 2

Thread: How can i move a user control???

  1. #1

    Thread Starter
    Hyperactive Member toughcoder's Avatar
    Join Date
    Nov 2002
    Location
    Near, Very Near
    Posts
    340

    How can i move a user control???

    Greetings fellow programmers, well I have got a usercontrol, now once it is placed on a form, i want it to be automatically moved or placed at 0,0. How is it possible, owing to the fact tghat a usercontrol has neither a Top, left property nor a Move method. Can any1 help
    If Not VB Then Exit
    ------------------------------------------------
    visit me @ http://mzubair.50g.com/

  2. #2
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    I think you can use the Extender property:

    VB Code:
    1. UserControl.Extender.Top = 0
    2. UserControl.Extender.Left = 0

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