473,490 Members | 2,592 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Showing form in a panel

Hi all
Is it possible to show a form in a Panel container??

thanks in advance


Mar 13 '06 #1
2 7490
Hi Perspolis,
it is not possible to show a form in a panel container. If you have an
existing form and want to show its UI in the panel as well then abstract the
code into a user control which you can embed inside the panel and the form.

Mark Dawson
http://www.markdawson.org
"perspolis" wrote:
Hi all
Is it possible to show a form in a Panel container??

thanks in advance


Mar 13 '06 #2
Yes it is.
Set the form's TopLevel proeprty to *false*. This propery is not visible in
the property windows, so you need to set it from code.

Keep in mind that seting this property makes the form a child window
(regural control so to speak). It will look like a form with all the
captions and stuff, but in the reality will be a control, which means that
some of the features available on for the top-level windows will not be
available - such as the form won't be able to host a main menu, some of the
events such as Activate and Decativate may not work in the same way, etc.
When I say that the form cannot have main menu I mean the MainMenu component
from .NET1.x, in .NET 2.0 probably the menu strip will still work.
--
HTH
Stoitcho Goutsev (100)
"perspolis" <re*****@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi all
Is it possible to show a form in a Panel container??

thanks in advance

Mar 13 '06 #3

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

Similar topics

3
3989
by: Suresh Kumaran | last post by:
Hi Everyone, Is there any one out there who can help me in VB.NET to show the tooltip description of the TOOLBAR panel in the STATUSBAR. In other words when the mouse hovers over the tool bars...
1
2169
by: B Maxey | last post by:
I have a form with a panel. On that panel I am adding a bunch of usercontrols . I add the controls when in the forms constructor. The panel has autoscroll set, and when I resize the form the...
3
1586
by: Brenny | last post by:
Hello I'm designing a windows form and form's background image is exist and I added a label and groupbox. There is a spesific image on the form and I want to show this image as label and...
3
2542
by: Charlie Dison | last post by:
Hi There, Should I be able to show and hide panels in an asp.net page without requiring a postback? I thought there was a way to do this using java script. Can anyone give me an example? I...
6
3029
by: wandali | last post by:
Hello, I have a problem in finding the status of a panel (visible or not). I have a dropdownlist that associates with a panel in which textbox are embeded in the panel. A client side VBScript is...
0
983
by: Chris Dunaway | last post by:
I have a help file (.chm extension) and I want to show it. I know I can use the Process class to start the .chm file and it will appear, but I want it to be contained within my form. For example,...
2
2932
by: Robert Smith | last post by:
Hello, I have a problem with my progress bar, as shown in the attached code, the values on the bar are incremented within a threaded timer event. The timer works fine and ticks all the way...
4
2327
by: Larry R | last post by:
I am trying to set a panel (that holds a progress image) to be visible when a long running process is happening. Sounds simple, right :) What happens is the panel never becomes visible. The load...
0
1294
by: Brian Tkatch | last post by:
Been trying to figure out how to show borderless forms indside an MDI Form, without showing the border at all. Given that (in our case) only one such form needs to show at a time, we were able...
0
7112
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6974
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...
0
7146
Oralloy
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,...
0
7183
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7356
tracyyun
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...
0
5448
agi2029
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,...
0
4573
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3074
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
628
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.