Solved

500pts: Creating a UI for arranging controls with SNAP like vs2005?

Posted on 2006-10-24
3
215 Views
Last Modified: 2012-05-05
Hi there,

Does anybody have any examples or can help with creating a UI like VS2005 where i add new controls, rearrange them with the mouse using Snap to .... once this is done then i will serialize the information with XML and load the controls and positions etc at runtime...

I was wondering if some kind of framework existed for doing such a thing?

I do have a general idea how to move something using the mouse etc but its the snap to and creating a toolbox that sort of has me a little confused...

Basically I am extending an app i have to allow people to add fields to entry form..

If anybody can help, i would really appreciate any input

thanks in advance

Ian
0
Comment
Question by:ianinspain
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 7

Accepted Solution

by:
nepali earned 500 total points
ID: 17794410
hi,
For drag drop ui stuff check this article
http://www.codeproject.com/cs/miscctrl/toolbox.asp

For the xml to be generated. You can have a business data model that maps to the structure of your form. so whenever you add an form item you can get the position and type of item added and write it to the xml file. For this the complexity depends on the form structure. I will prefer to have a designer grid type of structure on my form where the user can change the structure and then an form entry panel where the user can enter the form details.

0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 17795132
0
 

Author Comment

by:ianinspain
ID: 17795702
Thanks taking a look now..

ermmm,.. emoreau, this is just a docking pane isn't it... not a gui form designer??
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question