473,320 Members | 1,820 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,320 software developers and data experts.

Using Splitter with C#

This is my first try with C# windows gui devlopment, is it correct to
say that gui development in C# is windows forms.

I would like to create a form with two sections, 2 datagrids, I would
like
to have a splitter that will allow me to hide the datagrid either the
one on top
half or the one on the bottom half.

I am going thru this, but would appreciate some help in understanding
how the layout works.

thanks in advance
Nov 15 '05 #1
1 22669
Krish,

- Create a new form.

- Drop a datagrid on the form and set it's Dock property to Top.

- Drop a splitter on the form below the DataGrid and set its Dock property
to Top.

- Drop another datagrid on the form below the splitter and set its Dock
property to Fill.

There you go.

If you want a more complex arrangement you can use panels above and below
the splitter, and then position your controls on the panels as necessary.

You can also try something like a left-docked panel, followed by a
left-docked splitter and then a fill-docked panel. Then follow the
directions above, except dropping the datagrids and splitter onto the right
panel. That will give you a resizable area on the left, where you can put
something like an OutlookBar, with the datagrids on the right.

btw, if you want a nice OutlookBar component for free, see...

http://www.componentscience.net/elements/ex

--
Leit Rachsor

Nov 15 '05 #2

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

Similar topics

0
by: MooMaster | last post by:
This is more of a wxPython centric question, but not seeing reference to this on the wx group I thought I'd try here since many here also use wxPython toolkit. I started learning GUI development...
0
by: keith | last post by:
I have a form and added a RichTextBox and set Dock to TOP, added a Splitter and set Dock to TOP, and finally added a listView set Dock Fill. Then added several items to the listView control. ...
4
by: BBM | last post by:
I'm trying to set up a form with two panels divided by a Splitter control. I can make the Splitter work in the situations described in the documentation (Listbox or TreeView on left w/Dock set to...
2
by: Hrcko | last post by:
How to use this control? I have to grids on my form, one on the top and one on bottom. When I start application I want to be able to move bottom grip up, and top grid down, but it doesn't...
5
by: Sam | last post by:
Hi, I have a panel docked to the bottom of my form. This panel can be expanded vertically by clicking on a button. When the user click on the button again, the panel is then collapsed. The panel...
2
by: Istvan | last post by:
Hello ....Window.Forms.... Can somebody help me with Panels and Splitters ? I want to add three Panels to one Usercontrol , between them with two movable Splitter. First Row: 2...
0
by: dvsriram | last post by:
Hii To All, I am using splitter Container in vb.net ,in that normally we have 2 panels and a splitter to move . when i move the splitter a dark line is moving when i mouse up also it is staying...
8
by: Mr. X. | last post by:
Hello. I have put 3 components on the form : Panel . dock property is left (left panel). Spliter. dock property is left. Panel. dock property is fill (right panel). I see that the spliter has...
1
by: arnoldino | last post by:
hi i wanna make a form on which there are 6 panels. on form load the first panel will show up, and if the user clicks on a button on taht panel the first panel will hide and the second will show...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.