I'm trying to create webpage-style frames on a form, and all the get
parent size and resize children malarkey is giving me a headache. What
I would like to do is define some frames on the parent forms, then load
the children into those frames, maximised (to fill the frame). SDK has
an intriguing section titled "Windows Forms Layout Options", but it
doesn't actually say how.
From browsing google archives, it seems that this is a fairly simple
and widely known matter. Is there an online tutorial for this, or can
anyone explain it here?
--
Cheers, ymt. 9 4504
Hi Yuk Tang,
Use Panels and Splitter controls, and set docking and anchor properties
as necessary
I think there is a walkthrough in MSDN for this... (Walkthrough:
Creating a Multipane User Interface with Windows Forms) at
ms-help://MS.VSCC/MS.MSDNVS/vbcon/html/vbtskCreatingIntricateUserInterfaceWithWindowsAppl icationObjects.htm
It's pretty detailed and should clear your concepts...
If it is still unclear, I will post exact steps to make an Windows
explorer like interface.
Regards,
Cerebrus.
"Cerebrus" <zo*****@sify.com> wrote in
news:11**********************@j33g2000cwa.googlegr oups.com: Hi Yuk Tang,
Use Panels and Splitter controls, and set docking and anchor properties as necessary
I think there is a walkthrough in MSDN for this... (Walkthrough: Creating a Multipane User Interface with Windows Forms) at ms-help://MS.VSCC/MS.MSDNVS/vbcon/html/vbtskCreatingIntricateUserIn terfaceWithWindowsApplicationObjects.htm
It's pretty detailed and should clear your concepts...
If it is still unclear, I will post exact steps to make an Windows explorer like interface.
Yes please. Perhaps I have a different edition of MSDN, but your
link doesn't bring anything up in SDK, and googling by those keywords
doesn't find anything either.
I've added two panels, got coordinates for them, set their locations
and sizes using lefts, tops, widths and heights (is there a neater
way?). Now I'm looking to contain a form inside a panel. As for
splitters, I have no idea how they work (MSDN isn't too helpful
either).
I'm starting to think that MSDN is great for code, not so good for
explaining ideas.
--
Cheers, ymt.
"Yuk Tang" <ji********@yahoo.com> wrote in message
news:Xn*******************************@130.133.1.4 ... Yes please. Perhaps I have a different edition of MSDN, but your link doesn't bring anything up in SDK, and googling by those keywords doesn't find anything either. http://msdn.microsoft.com/library/en...asp?frame=true
"Homer J Simpson" <no****@nowhere.com> wrote in
news:P8AVf.8341$K11.8098@clgrps12: "Yuk Tang" <ji********@yahoo.com> wrote in message news:Xn*******************************@130.133.1.4 ...
Yes please. Perhaps I have a different edition of MSDN, but your link doesn't bring anything up in SDK, and googling by those keywords doesn't find anything either.
http://msdn.microsoft.com/library/en...tskcreatingint ricateuserinterfacewithwindowsapplicationobjects.a sp?frame=true
Thanks for that. I'll give it a try tonight.
--
Cheers, ymt.
"Yuk Tang" <ji********@yahoo.com> wrote in message
news:Xn*******************************@130.133.1.4 ... Thanks for that. I'll give it a try tonight.
A manual method.
Start a new project.
Add a ToolStripContainer
Set it to dock to the form (Fill)
Click in the top section.
Add a menu strip
Add a tool strip.
Add another tool strip.
Click in the bottom section.
Add a StatusStrip.
Click in the ToolStripContainer panel.
Add a TreeView.
Set Dock to Left.
Add a Splitter.
Add a Panel.
Set Dock to Fill.
Add a ListView.
Set Dock to Top.
Add a Splitter.
Set Dock to Top.
Add a RichTextBox.
Set Dock to Fill.
File: Export Template to use this as a template for next time!
Hi Yuk Tang,
Are you using VS 2003 or 2005 ?? I'm sorry, you had trouble finding the
article in the MSDN help. I should've posted the link to the online
library too, but I had this one stored in my favourites...
Anyway, Homer has supplied that (and the steps too !), so I hope that
you found the information that you needed.
Regards,
Cerebrus.
"Cerebrus" <zo*****@sify.com> wrote in
news:11**********************@j33g2000cwa.googlegr oups.com: Hi Yuk Tang,
Are you using VS 2003 or 2005 ?? I'm sorry, you had trouble finding the article in the MSDN help. I should've posted the link to the online library too, but I had this one stored in my favourites...
Thanks for the information. I've experimented with it now, and have
(I think) got the hang of panels, splitters and the People's Front of
Judaea. However, I've found other problems.
Btw, I'm using VS 2003, which was (is?) probably still the problem.
Most of my experience is with a much older version of VB, so it's
been a fair leap to make. However, I'm liking the logic of OOP more
the more I try it. Still having to adjust to not having existing
forms and other object collections though.
Anyway, Homer has supplied that (and the steps too !), so I hope that you found the information that you needed.
A clearer idea of what I'm looking at plus the collected wisdom of
the appropriate newsgroup is working wonders. I just hope I'm able
to learn enough to pass on any ideas in turn. Are frequent questions
frowned upon in this group?
--
Cheers, ymt.
"Yuk Tang" <ji********@yahoo.com> wrote in message
news:Xn*******************************@130.133.1.4 ... A clearer idea of what I'm looking at plus the collected wisdom of the appropriate newsgroup is working wonders. I just hope I'm able to learn enough to pass on any ideas in turn. Are frequent questions frowned upon in this group?
Only "Is your X/Y/Z too small?"
"Homer J Simpson" <no****@nowhere.com> wrote in
news:rPVXf.17866$Ph4.8090@edtnps90: "Yuk Tang" <ji********@yahoo.com> wrote in message news:Xn*******************************@130.133.1.4 ...
A clearer idea of what I'm looking at plus the collected wisdom of the appropriate newsgroup is working wonders. I just hope I'm able to learn enough to pass on any ideas in turn. Are frequent questions frowned upon in this group?
Only "Is your X/Y/Z too small?"
LOL!
--
Cheers, ymt. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Zak McGregor |
last post by:
Hi all
Are there any good solutions to aligning form field names and input boxes
without resorting to tables? I am struggling to do this nicely at the
moment.
Thanks
Ciao
Zak
|
by: Neal |
last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog
entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A
quite good article.
|
by: Rod Gill |
last post by:
Hi,
I have a form that when opened in the designer appears of the screen. The
form selector can't be dragged (or resized) and if I scroll right and down
to centralise it the form simply jumps...
|
by: ckirchho |
last post by:
Halo,
I am trying to realize a two column layout basically like this:
<html>
<head>
<style>
leftCol {
float: left;
width: 15em;
}
|
by: Ryan |
last post by:
I have 2 forms, Form1.vb and Form2.vb.
In Solution Explorer, Form2.vb no longer shows a Form icon nor do I have the
option to open Form2.vb in the main explorer window where usually I
have the...
|
by: noballack |
last post by:
I've got a problem, I'm working with Ajax in a web with a form with a list of checkbox added to the form via an Ajax.Updater method. These added checkboxs are not been sended by the form if I use...
|
by: =?Utf-8?B?SnJ4dHVzZXIx?= |
last post by:
I just started using Windows Live OneCare, I had been using Norton, but was
unable to fix the problems I was having. I have yet been unsuccessful with
OneCare as well. I keep getting the same...
|
by: Zetten |
last post by:
This is going to be a long one, but hopefully that will make it easier to understand. I know I don't like posts with too little detail when I'm searching for help.
I am creating a form with which...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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,...
|
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...
|
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,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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...
| |