Hello, two questions please:
1) In a treeview, I want to display folders like it is done in Windows
Explorer. Do I have to do this manually or can I set something up in VS.NET
2003?
2) Most importantly, in Windows Explorer, you can drag the treeview's right
edge to resize it to your will. How can I do this with my treeview (at
runtime obviously)? Do I need to use a splitter? Any info would be
appreciated very much.
I'm using C# by the way, but I doubt that'll make much of a difference.
Thank you for the information. Good bye. 5 1862
And another question:
Saying I have a Form in VS.NET. I add a treeview and listview left and right
respectively, and at the top. At the bottom, I add a panel. WHen I run it,
if I resize the form or maximise, I want the controls to expand their sizes
proportionately. Like they do with almost every application. How can I do
this? BTW I anchored the treeview TOP and LEFT because obviously that's how
I want it. And the listview I ancored RIGHT and TOP as well of course. The
panel just BOTTOM, LEFT AND RIGHT (it covers the whole area). When I resize
the app while running, I want the components to resize proportionately.
I hope this is clear.
Thanks for any help.
"fgh" <ed@ed.com> wrote in message
news:eI**************@tk2msftngp13.phx.gbl... Hello, two questions please:
1) In a treeview, I want to display folders like it is done in Windows Explorer. Do I have to do this manually or can I set something up in VS.NET 2003?
2) Most importantly, in Windows Explorer, you can drag the treeview's right edge to resize it to your will. How can I do this with my treeview (at runtime obviously)? Do I need to use a splitter? Any info would be appreciated very much.
I'm using C# by the way, but I doubt that'll make much of a difference. Thank you for the information. Good bye.
Hi fgh,
Based on my understanding, you want to use TreeView and ListView to make a
windows explorer like Form.
================================================
Normally, you may first add a TreeView to the form, whose Dock property is
set as Left, then you may drag a Splitter control on the form, it will
automaticly dock to the right of TreeView. At last, you may drag a ListView
control to the form, make its Dock property to Fill, then it will fill the
left right aera of the form.
For more information about making a windows explorer like Form, please
refer to the below: http://www.thecodeproject.com/csharp/tv-lv-basic41.asp http://www.c-sharpcorner.com/Code/20...inExplorer.asp http://www.c-sharpcorner.com/winform...inexplorer.asp
========================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
That's correct, thank you for the settings, they work perfectly. Thanks
again.
""Jeffrey Tan[MSFT]"" <v-*****@online.microsoft.com> wrote in message
news:jk*************@cpmsftngxa06.phx.gbl... Hi fgh,
Based on my understanding, you want to use TreeView and ListView to make a windows explorer like Form. ================================================ Normally, you may first add a TreeView to the form, whose Dock property is set as Left, then you may drag a Splitter control on the form, it will automaticly dock to the right of TreeView. At last, you may drag a ListView control to the form, make its Dock property to Fill, then it will fill the left right aera of the form.
For more information about making a windows explorer like Form, please refer to the below: http://www.thecodeproject.com/csharp/tv-lv-basic41.asp http://www.c-sharpcorner.com/Code/20...inExplorer.asp http://www.c-sharpcorner.com/winform...inexplorer.asp
======================================== Thank you for your patience and cooperation. If you have any questions or concerns, please feel free to post it in the group. I am standing by to be of assistance.
Best regards, Jeffrey Tan Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights.
Hi fgh,
Thanks very much for your feedback.
I am glad I can help, if you need further help, please feel free to tell me.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Hi fgh,
Thanks very much for your feedback.
I am glad I can help, if you need further help, please feel free to tell me.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: SoKool |
last post by:
Can anyone point me to a site where I can get a free treeview control to use in ASP .NET or any tutorial that can help me build my own treeview control.
I intend to use a treeview to generate a...
|
by: Ben Coats |
last post by:
Hey,
I'm trying to find code for an Explorer-style Directory ComboBox. (You know, it display "Desktop", "My Computer", all drives, etc., but it has a treeview control inside the combobox so that...
|
by: christof |
last post by:
I've got a really easy problem, please help me:
There are two pages in one I'm creating a TreeView like that:
TreeView dbTree = new TreeView();
TreeNode dbTreeRoot = new TreeNode("Root");...
|
by: p3t3r |
last post by:
I have a treeview sourced from a SiteMap. I want to use 2 different CSS
styles for the root level nodes. The topmost root node should not have a top
border, all the other root nodes should have a...
|
by: apenly |
last post by:
Hi all-
I'm trying to Render a TreeView in a custom control, but I'm receiving
a NullReferenceException at runtime. If I put the TreeView on the page
it works fine, but as soon as I try to...
| |
by: rolf.oltmans |
last post by:
Hello all,
I need to place treeview control in Grid control. I need to place it in
a grid because I need to show calendar against every node. Is placing a
treeview in grid possible? If I need...
|
by: noneya22 |
last post by:
I want to use a TreeView control as a one-level, vertical navigation
menu. I'm using this control currently with a SiteMapDataSource
and .sitemap file. I've written code that associates an image...
|
by: jiing |
last post by:
Hi all,
I want to use sting(the same as Node.Text) to judge if a node exists
in TreeView.
I've tried several ways, but seems all failed.
could anybody help me?
Thanks in advance.
//My...
|
by: makennedy |
last post by:
Hi Experts,
Please help, I am a newbie to ASP.NET 2.0 may be I am doing something wrong or there may be a bug somewhere.
Basically I have a TreeView Control which I have created...
|
by: =?Utf-8?B?TWlrZSBDb2xsaW5z?= |
last post by:
I have a treeview, which is in an accordion, which is in an updatepanel. When
I click on a node in the treeview, it loads up a control as it should. When I
click on the same node again, the...
|
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: 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...
|
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...
|
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: 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...
| |