473,471 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

form inside a pannel

1 New Member
I´m trying to make an "administrative console style" application using
vb.net (an application with a visual layout as usual mmc console applications). I'm
using a main form with a SplitContainer. In the left SplitterPanel I have
a TreeView control, and my idea is to open "subforms" in the right side
SplitterPanel. This is easy to do with code like:

Dim frm As Form
frm = New subform
frm.TopLevel = False
Me.SplitterPanel1.Panel2.Controls.Add(frm)
frm.Show()

This works. The problem is when need to resize the main form. The
"subform" remains in the some original size. Can someone tell me how
to force the subform to resize ? Is there any better way to make
this "administrative console like" type of applications?
Thank you
May 2 '06 #1
1 1709
Banfa
9,065 Recognized Expert Moderator Expert
Now I am not a VB expert at all but I have done a lot of Windows programming in C and I am going to guess that when you resize the main form there is a size (or resize) handler that gets called.

If so then you should implement this handler and use it to resize the sub form to the new main form size.
May 2 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Grosch | last post by:
This is in C# I have controls embeeded in a pannel. Every thing looks ok when displayed in the IDE and on the web page. Two times now after things where layed out and ok. the controls phantom...
1
by: Brian Henry | last post by:
In standard VB.NET you can group radio buttons in a pannel or frame and when you click on one in that frame or pannel the others will update relative to the selection so only the one you picked is...
1
by: A.M | last post by:
Hi, I can not see the properies of my user control in IDE's property pannel. Is it possible to have them in property pannel ? Thanks, Alan
6
by: Rich | last post by:
Hello, I want to simulate the dynamic thumbnail display of Windows Explorer (winxp) on a form or pannel container. If I place a picture box on my container form/pannel and dimension it to the...
1
by: Rich | last post by:
Hello, I have a form with 4 pannels docked to the form, each other, with splitters, ect. that I can drag and change the size of the pannels... I need to place this form in an MDIcontainer form....
4
by: iKiLL | last post by:
Hi All I am Developing in C# with VS2005. I am Developing a Windows Mobile Forms Application with the CF2 My problem is that when the Input panel is displayed my screen does not
2
by: Lennart Nielsen | last post by:
I'm writing an application for a specific screen size for a project. It works fine on my desktop at work, but when I try to tele-commute via VPN & Remote Descktop I can only access part of the...
7
by: Aussie Rules | last post by:
Hi, Is there a way to have a screen/form designer functionality in a vb.net2008 program for the end user to use ? I want to be able to distribute my application, and allow the end user to...
0
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
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
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
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
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,...
1
isladogs
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.