472,782 Members | 1,196 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,782 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 22638
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: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.