I work with VS2005 and .NET FW ver. 3.0.
I need to implement 3 to 4 panes in my form application.
Is that possible?
Is there a way for the user to configure in real time (the pane number)?
Is there some reference or a sample anywhere in the Internet that is close
to that?
Regards
Ronny 2 3090
Ronny,
You are going to have to use a number of panels for this, and
create/delete panels as the user changes the number that they want (how they
choose to do that is up to you).
You can also use a combination of splitters as well to allow the users
to size the panels.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Ronny" <ro***@john.com wrote in message
news:ej******** ******@TK2MSFTN GP03.phx.gbl...
>I work with VS2005 and .NET FW ver. 3.0.
I need to implement 3 to 4 panes in my form application.
Is that possible?
Is there a way for the user to configure in real time (the pane number)?
Is there some reference or a sample anywhere in the Internet that is close
to that?
Regards
Ronny
"Ronny" wrote :
"I need to implement 3 to 4 panes in my form application. Is that possible?"
Assuming you mean to manipulate 3 or 4 independent container controls within
one form ?
Most helpful, I think, would be if you would specify your requirements a
little more specifically : is it the case that that one of your "panes" is
always displayed simultaneously with another "pane" or does the end-user
have the choice of seeing only one pane; is one ... or more ... panes of the
set of panes always visible ? Do you wish the user to have the capability to
re-size, move, or dock the panes within the master container as well as
control pane visibility ?
Yes, many different ways you could approach that. As "raw materials" you
could use SplitContainers , as others have suggested, regular panels, even
other Forms. You could go "retro" and trot out the old classic MDI
windows-in-main-window facilities (bias : personally, I don't like MDI
interfaces).
If you really want to "think outside the box" you can make each of your
containers a separate window (Form) and show them independently on the
screen (or move them to display inside another Form if you wish at
run-time). Note that I am NOT saying you should do that :)
"Is there a way for the user to configure in real time (the pane number)?"
A lot depends on what you want the interface to present to the user at
run-time in terms of pane management : independent showing/hiding of your
"panes" from a menu, control of individual "panes" by go-away hickeys like
forms have, hiding of "panes" by dynamic resizing of a SplitContainer' s
split-control through the user clicking and dragging at run-time ...
switching between pre-sets of fixed relations of panes ?
Yes, again many ways to approach this. Hiding panels within SplitContainers ;
using independent regular panels and adjusting their docking or anchoring at
run-time depending on what's being shown, etc. You might want to check out
FlowLayoutPanel and TableLayoutPane l briefly for some more ideas to round
out your sense of what's possible with WinForms' container controls.
"Is there some reference or a sample anywhere in the Internet that is close
to that?"
Check MSDN for documentation/examples/tutorials on SplitContainers .
Experiment. You might look at Chris Sells' excellent book on WinForms.
Search CodeProject for SplitContainer, perhaps filtering by .NET language of
your choice.
best, Bill This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Matt Kruse |
last post by:
This is a common requirement - "freeze panes" in a table, so that some
header rows and some columns on the left are frozen while the body content
scrolls. This makes large tables more usable on screen.
There are a number of solutions available. For example,
http://www.litotes.demon.co.uk/example_scripts/tableScroll.html
I'm just wondering if anyone knows of a "latest and greatest" script to
solve this problem.
My requirement at the...
|
by: Dan |
last post by:
I have created an Excel worksheet using automation from a
VB.NET application. The worksheet is never made visible by
the VB program. It is created and filled with data from a
database and then some formatting is applied and the
worksheet is saved. I need to know how to freeze panes in
my VB program before the worksheet is saved so when the
saved worksheet is opened, the column headings in the
third row are not scrolled out of view when...
|
by: Tom |
last post by:
Does anyone know of a way to "freeze panes" in a contnuous form?
Thanks!
Tom
|
by: Phani |
last post by:
hi everyone !!!!
i want to develop a web application in which the gui is divided into
different panes
and the panes should have facilities like increasing the width by dragging ,
dockable etc .... as we do in outlook panes .....
is it possible to have this kind of gui in ASP.NET using C# ......
cheers
|
by: CHRISM |
last post by:
Hiya,
Has anyone looked at the FotoVision sample from Microsoft?
Here:
http://msdn.microsoft.com/library/en-us/dnnetcomp/html/FotoVisionDesktop.asp
I downloaded the sample projects and installed the FotoVision Desktop
version. I opened the solution with VS.NET 2003 and it compiles fine.
When I try and run it, though, it takes an error...
| |
by: Roger Withnell |
last post by:
I would like to freeze column and row headings on a webpage, simulating
freeze panes as in an Excel spreadsheet.
Don't seem to be able to do it with Frames. Is there a way with Javascript
and/or CSS and or Frames?
Thanks in anticipation.
|
by: Allen Chen [MSFT] |
last post by:
Hi Richard,
Quote from Richard==================================================
However I also want to be able to remove the
panes. I have tried to include this, but find that when I first add the
pane
the remove event does not get handled, though thereafter it is handled
without problems.
==================================================
|
by: meekstro |
last post by:
I have been assigned to design an application that uses tabbed panes for different catagories and collects information bout size and quantity. Also it is suppose to display the cost of the order as information is gathered. How should I go about displaying the cost? I have the tabbed panes set up. I was thinking I need to utilize some sort of actionlistener but am not sure how to implement this. Thanks for the help.
I have included some...
|
by: ronnysaid |
last post by:
Hi all,
I was wondering if there is a way to get the range from the frozen panes in excel using interop v.12??
Or is there a property associated with the range indicating its frozen or not??
the only thing i could accomplish is to select a range then check ActiveWindow.FreezePanes, but this will return true if you have any range frozen other than the selected one, so i want to get the range from the current Frozen panes.
Thanks in...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |