473,396 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Layout Designer Suggestions

I have written an application. It that has a background image on the main form. There are also about 25 label controls (maybe text boxes depending on your recommendations). The location of the label controls needs to be repositionable by the user. He also needs to be able to choose a font, font size and a few other properties. Also, I want to allow him to add or remove labels (he can pick Add from a menu option, then a dropdown can present him with the predefined labels that he can add). After adding them to the form he will need to be able to resize and reposition them and save the output to some sort of layout file for the application to read when it is launched. I think I'm going to try and store all the parameters in an XML file. So basically what I want to do is create some sort of Layout Designer. What suggestions do you all have or links that may be helpful. I read the MSDN article about "Not Your Father's Data Binding". Thats where I got the idea for using XML

Lets hear it
John
Nov 20 '05 #1
2 1014
* "=?Utf-8?B?amNyb3VzZQ==?=" <an*******@discussions.microsoft.com> scripsit:
I have written an application. It that has a background image on the
main form. There are also about 25 label controls (maybe text boxes
depending on your recommendations). The location of the label controls
needs to be repositionable by the user. He also needs to be able to
choose a font, font size and a few other properties. Also, I want to
allow him to add or remove labels (he can pick Add from a menu option,
then a dropdown can present him with the predefined labels that he can
add). After adding them to the form he will need to be able to resize
and reposition them and save the output to some sort of layout file for
the application to read when it is launched. I think I'm going to try
and store all the parameters in an XML file. So basically what I want to
do is create some sort of Layout Designer. What suggestions do you all
have or links that may be helpful. I read the MSDN article about "Not
Your Father's Data Binding". Thats where I got the idea for using XML.


Have a look at SharpDevelop's IDE to see how to implement a form
designer.

<URL:http://www.icsharpcode.com/OpenSource/SD/Default.aspx>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
Hi Jcrouse,

You can use for that an XML file however for this screen part I prefer the
registry.

When you use the Anchor properties and the Dock properties well, you have
not to set so much as in past, the upper left point on screen and the size
and height will when well done in my opinion be enough.

With a slider you can think of setting that postition as well in the
registry

The registry is very easy to handle in your program.

http://msdn.microsoft.com/library/de...classtopic.asp

This does not mean that I do not use config files and for that I use the
ordinary dataset which I read with ds.ReadXML and ds.WriteXML. However not
for screensetting, for those I do not like diskaccess (maybe something
personal).

I hope this helps?

Cor
Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nunya D. Bidness | last post by:
If anyone is interested in testing these components goto http://www.vibrantinnovations.com/vibrantlayouttools.asp The Vibrant Layout Tools ActiveX component is a suite of tools that allow...
20
by: Tammy | last post by:
What would be a good alternative to using frames? I need something that will section my webpage into two halves and can change both frames on a single click. Thanks in Advance, Tammy
1
by: Rob Willaar | last post by:
Hi All, I like to design my printouts with a layout designer and fill the fields with code. It would me nice if the end user can use this designer to add a company logo or change margins and...
2
by: kai | last post by:
Hi, All I am trying to look for Grid layout in ASP.NET 2.0, but cannot find it. Is Grid layout option still available? Thanks Kai
6
by: Rob R. Ainscough | last post by:
Ok, I gotta say I now believe in Voodoo & Magic after working with VS 2005 developing web pages. I have a standard ASPX web page, the only two controls on the page are a Label Control...
3
by: jonefer | last post by:
I tried all sorts of key combinations. How do I precisely move controls, such as labels or textboxes with the arrow keys? I notice that new labels or boxes only have 2 handles on them, -...
14
by: Anoop | last post by:
Hi, I am new to this newsgroup and need help in the following questions. 1. I am workin' on a GUI application. Does C# provides Layout Managers the way Java does to design GUI? I know that it...
53
by: brave1979 | last post by:
Please check out my javascript library that allows you to create any layout for your web page, nested as deep as you like, adjusting to width and height of a browser window. You just describe it in...
2
by: rhino | last post by:
I'm working on a layout that has a variable-height middle section and need some suggestions on how I can make the bottom section adapt to that situation. Basically, I have: - a fixed-length,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.