CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2001

    Move a control inside the user control programicaly

    Hi all i have a list control inside my user control which creates a user form for my application. It is placed inside a GridView column. now i want to move that control on runtime and place is some where else on the form. How can i do this.

    I want to move the control to a specific position using code. I have a number of controls in my user control which work as a form. The cotrols as arranged using gridview. I have one common list box which i need to move to different position in the window programatically at runtime.
    Do rate this post if it find useful to you

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004

    Re: Move a control inside the user control programicaly

    Is there only one control that you wish to 'move'?

    If so, just put it on the form where it needs to be and hide/show it as necessary.

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.