CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2001
    Posts
    22

    Moving Controls At Runtime

    I have worked with applications in the past that allow the user to move/modify controls at runtime and allow those modifications to be saved. For example, the user may want to add a text box to a form and once added, the change is saved so that every time the user opens the form the text box appears. All of this is done without the user actually being able to view/modify the code. Does anyone know how this is achieved?

  2. #2
    Join Date
    Feb 2002
    Location
    Makati City, Philippines
    Posts
    1,054

    Re: Moving Controls At Runtime

    Quote Originally Posted by Qatester
    I have worked with applications in the past that allow the user to move/modify controls at runtime and allow those modifications to be saved. For example, the user may want to add a text box to a form and once added, the change is saved so that every time the user opens the form the text box appears. All of this is done without the user actually being able to view/modify the code. Does anyone know how this is achieved?
    I have not tried it but isn't that simple by just saving the new control and its properties into a text file (maybe something like *.ini)? Then reload and re-create (however you do) it from the said file?
    Marketing our skills - please participate in the survey and share your insights
    -

  3. #3
    Join Date
    Oct 2001
    Location
    Melbourne, Australia
    Posts
    576

    Re: Moving Controls At Runtime


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

Featured