This article shows you how to design fairly complicated forms, which can resize, using anchors, docks and panels with a dash of code.
Tutorial Details:
Planning Form Layout in VB.NET
This article shows you how to design fairly complicated forms, which can resize, using anchors, docks and panels with a dash of code.
Most of you would have heard of, and even used the new anchoring and docking properties available to the windows form controls in VB.NET. They enable controls to resize or reposition themselves as the form resizes, without writing code.
I was definitely excited about these new features. Think of the huge amount of time saved writing stupid, nonproductive resizing code just to make the forms look the same.
But is all this as simple as it seems? Just set a few properties, and no code?
Let's delve in and find out. We will start out by designing the user interface shown below of my new experimental application -'An expense tracker'.
Now when it came to resizing controls first I started experimenting with the anchor and dock properties, but what the hell? Controls would either overlap or move away to opposite extremes of the form, or get jumbled up. Tried all possible stunts to no avail. If you set the anchor property, the dock property would vanish and vice versa. The controls never seemed to care about each other; all that they were concerned was either to stick to an edge of the form or to maintain a constant distance from the edges of the form.
Read
Tutorial at: Click here to view the tutorial
Rate Tutorial: Visual Basic .NET Planning the form layout in VB.NET Tutorial
View Tutorial: Visual Basic .NET Planning the form layout in VB.NET Tutorial
Related
Tutorials:
A portable hill of
beans
A portable hill of
beans |
JavaWorld - Net News
Central
JavaWorld - Net News
Central |
C# : A language alternative or just J--? (part1)
C# : A language alternative or just J--? (part1) |
Personalize your Website with skins - JavaWorld June
2001
Personalize your Website with skins - JavaWorld June
2001 |
UI design with
Tiles and Struts
UI design with
Tiles and Struts |
Is WSDL the
indispensable API?
Is WSDL the
indispensable API? |
Rumble in the
jungle: J2EE versus .Net, Part
1
Rumble in the
jungle: J2EE versus .Net, Part
1 |
Eclipse casts shadows
Eclipse casts shadows |
Speed up your
Swing GUI construction with better building blocks
Speed up your
Swing GUI construction with better building blocks |
A first look at JavaServer Faces, Part I
A first look at JavaServer Faces, Part Learn how to implement Web-based user interfaces with JSF |
Let the mobile
games begin, Part 2
Let the mobile
games begin, Part 2 |
Excellent
tutorial on Struts and Tiles
Excellent tutorial on Struts and Tiles
This tutorial assumes knowledge of Java, JDBC, Servlets, J2EE (with regards to Web applications) and JSP Struts in a holistic manner, minus the beads and crystals.
The Tiles framework makes creating reusable pages |
Light-Weight Visual Components Library for different platform: SWT, J2SE, J2ME, .NET
Light-Weight Visual Components Library for different platform: SWT, J2SE, J2ME, .NET |
Servlet Essentials
This document explains the concepts of Java Servlets and provides a step-by-step tutorial for writing HTTP Servlets with complete source code for the example Servlets. The tutorial and the other chapters cover all facets of Servlet programming from a ... |
Developing Simple Struts Tiles Application
In this tutorial I will show you how to develop simple Struts Tiles Application. You will learn how to setup the Struts Tiles and create example page with it. |
Interoperability with Patterns and Strategies for Document-Based Web Services
In Part 2 of this article, we demonstrate interoperability for document-driven web services with Microsoft .NET (C#) using strategies discussed in Part 1. |
Open Source Web Frameworks in Java
Open Source Web Frameworks in Java
Open Source Web Frameworks in Java
Struts
Struts Frame work is the implementation of Model-View-Controller (MVC) design pattern for the JSP. Struts is maintained as a part of Apache Jakarta project and is open |
Submit project to get developed
Submit project to get developed
T his page contains answers to common questions handled by our support staff, along with some tips and tricks that we have found useful and presented here as questions.
How do I Submit my Project ?
Who can submit a |
A Practical Roadmap for Deploying Enterprise Web Applications: Taking the First Step
This article covers important decision points around the availability, scalability, and security that are needed for enterprise web applications. |
DB Visual Architect for Eclipse
DB Visual Architect for Eclipse (DBVA-EC) is a full featured Object Relational Mapping (ORM) plugin for Eclipse that provides the industry\'s best round-trip code engineering support with Java. |
|
|
|