Solved

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

Posted on 2006-10-24
3
214 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
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

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

792 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