Click here to Skip to main content
Licence GPL3
First Posted 10 Sep 2008
Views 33,932
Downloads 2,516
Bookmarked 45 times

Simple Dockable Form With VB.Net

By | 10 Sep 2008 | Article
Create Simple Dockable Form Control



Figure: User interface sample of RipsWareFormDock.

Introduction 

Many desktop base application use dock style to manage more than one form in an application. its really cool!, then I try to create a control that provide that ability. Its very simple and easy to create and customize. Enjoy It. (sorry my English so bad! ^^;)

Using the code 

This is the very simple way to use RipsWareFormDock

 RipswareFormDock.AddForm(<form Tobe add>,[dock style(default Fill)]) 
'This code available on tester.zip at Form1.vb
'You just run the project to test
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 
	Dim WindowDockContainer1 As New WindowDockContainer1 'Dockable Form Container Declaration
	With WindowDockContainer1
            .AddForm(New Form, RipsWareFormDock.WindowsDockStyle.Fill)
            .AddForm(New Form, RipsWareFormDock.WindowsDockStyle.Top)
            .AddForm(New Form, RipsWareFormDock.WindowsDockStyle.Bottom)
            .AddForm(New Form, RipsWareFormDock.WindowsDockStyle.Left)
            .AddForm(New Form, RipsWareFormDock.WindowsDockStyle.Fill)
            .AddForm(New Form, RipsWareFormDock.WindowsDockStyle.Fill)
        End With
End Sub
		 

Points of Interest

You can manage more than one form in one parent form just like MDI style but this is in a tab style and can dock any where.

History 

01/09/2008 First create RipsWareFormDock
11/09/2008 First release RipsWareFormDock

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)

About the Author

rio_p

Software Developer
RipsWare
Indonesia Indonesia

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
QuestionSource code isn't working PinmemberHomebunny23:04 16 Jan '12  
QuestionAvoid using this. Pinmembergairs5:35 30 Aug '11  
AnswerRe: Avoid using this. Pinmemberrio_p23:08 7 Sep '11  
GeneralMy vote of 1 PinmemberMember 37351297:02 24 May '11  
Generalsubform closing event handle Pinmemberyoshiki_chai6:03 28 Feb '11  
AnswerRe: subform closing event handle Pinmemberrio_p6:33 15 Mar '11  
GeneralSize and location Pinmembergarik3882:37 24 May '10  
AnswerRe: Size and location Pinmemberrio_p5:45 16 Jun '10  
QuestionNice [modified] PinmemberJared James Sullivan10:40 25 Feb '10  
GeneralGreat Job! PinmemberKen Larkin11:05 30 Mar '09  
Generaltanks Pinmemberajadidian19:59 28 Oct '08  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web04 | 2.5.120517.1 | Last Updated 10 Sep 2008
Article Copyright 2008 by rio_p
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid