473,396 Members | 2,018 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,396 software developers and data experts.

Panels and forms

I am probably barking up the wrong tree completely but can you load forms in
panels. If not what can i use to get that kind of effect.
Nov 21 '05 #1
2 909
Hi,

Set the forms toplevel property to false add it to the panels
control and then show it.

Dim frm As New Form2

frm.TopLevel = False

frm.Location = New Point(0, 0)

Panel1.Controls.Add(frm)

frm.Show()

Ken

-------------

"RBirney" <RB*****@discussions.microsoft.com> wrote in message
news:B2**********************************@microsof t.com...
I am probably barking up the wrong tree completely but can you load forms in
panels. If not what can i use to get that kind of effect.
Nov 21 '05 #2
Excellent , works perfectly, thanks very much.
"Ken Tucker [MVP]" wrote:
Hi,

Set the forms toplevel property to false add it to the panels
control and then show it.

Dim frm As New Form2

frm.TopLevel = False

frm.Location = New Point(0, 0)

Panel1.Controls.Add(frm)

frm.Show()

Ken

-------------

"RBirney" <RB*****@discussions.microsoft.com> wrote in message
news:B2**********************************@microsof t.com...
I am probably barking up the wrong tree completely but can you load forms in
panels. If not what can i use to get that kind of effect.

Nov 21 '05 #3

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

Similar topics

4
by: Kerry Sanders | last post by:
I was playing around with a new Windows form yesterday. I wanted to drop two panels on the form. The first would be set Dock=Top. The second would be set Dock=Fill. So, I dropped the first...
3
by: TonyM | last post by:
Hi all, I have an application with a few different Windows forms. I am trying to update a statusbar panel's text that is in the main form, from another form. When I set the statusbar and the...
1
by: pfnus | last post by:
Hi, I want to display different forms when the buttons are clicked and all the forms are having different controls on it. So instead of adding new windows forms to the project, i enlarged the...
1
by: AndrewDucker | last post by:
I've just started working with some people that have an odd setup and I'm wondering if someone can point out a better way of doing things (or what I'm doing wrong). They have a base form class,...
2
by: Dean Slindee | last post by:
Is there any way to refer to the .text property of a status bar panel thru object syntax, like below (the inner "for" does not work): Public Function FormStatusBarPaint(ByVal frm As Form)...
3
by: George | last post by:
In my Webform I am building in VS.NET, I need to position and reposition a number of panels at runtime from within my Code Behind. Can someone tell me what namespaces I need to import, what the...
1
by: Ronchese | last post by:
Hi All, I 'm doing a form that have two dockable panels, one at top and other at left (for sample). The user can double-clicks the panels and they become floating, which double-clicked again,...
3
by: SAL | last post by:
Is there a setting in VS.net 2003 IDE that I can change, so when I add a PANEL to my ASP.net page and place controls on the PANEL itself, it will allow me to move the controls on the Panel where I...
4
by: A. Haeser | last post by:
Hello, I have build a little application with dynamic usercontrols on a panel. Sometimes there are 5 userscontrols on the panel, sometimes much more. It is database driven, everey usercontrol...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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,...
0
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...

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.