Send a suggestion!

We're building a brand new version of the site, and we'd love to hear your ideas

Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

Rated
Read 59,367 times

Contents

Related Categories

Planning Form Layout in VB.NET - Introduction

bennykmathew

Introduction

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.

Benny Mathew is the Founder, CEO of Seamless Integration Solutions Pvt. Ltd. He has 10+ years of formal experience in the IT industry and has provided services to many of the well known multi-national companies. He was also an MVP (Microsoft Most Valuable Professional) for two consecutive years. Prior to starting Seamless Integration Solutions, he was with Two Connect Inc. (Miami, FL), as a Solutions Architect. His work experience also includes working for IBM Global Services (India), Hewlett Packard (India Software Operations), Thomson Financials (Bangalore), and Delphi Software & IT Pvt. Ltd. (Bangalore). He is also a prolific writer and has co-authored several books and articles on .NET and BizTalk 2004/2006 for leading book publishers and developer portals such as Packt Publishing, Wrox Press, Apress, DevX, ASPToday, CSharpToday and DeveloperFusion. During his free time, Benny likes to read and write blogs and help people on the newsgroups related to BizTalk. His fascination for computers started at the age of 14, when he first learnt to program on a Sinclair ZX Spectrum+, which also motivated him to relentlessly pursue his formal education in computers that culminated with a Masters in Computer Applications from University of Mysore, India. You can reach him at: Website : http://www.seamless.in Blog: http://GeeksWithBlogs.net/benny

Comments

  • Re: [2088] Planning Form Layout in VB.NET

    Posted by vkhaitan on 01 Sep 2008

    It is difficult to design fairly complicated forms by simply using anchors and docks. .Net provides two layout manager Flow layout panel and Table Layout Panel. However you need to use a good layout m...

  • A little change

    Posted by danfizesan on 28 Oct 2003

    I would use 4 panels in the following way:
    1) one up (this is the extra panel that is not in your example). Set the Dock property to this one to Top and set the Height to whatever you want.
    2) The ...

  • helpful

    Posted by Skywolf on 15 Dec 2002

    good work - and helpful!

  • good one !

    Posted by sarath on 07 Mar 2002


    Good one ! Keep it up ...

  • Nice one

    Posted by naveen_pb on 07 Mar 2002

    This is very [b]very very nice[/b]

    [6]keep it up[/6]

    [cyan]good work[/cyan]