o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

Sorting a Listview acting as treeview (topmost parent only) -

I have come across the LVItemTree of Brad Martinez here. I want to add a sorting capability to it even with the topmost parent only but I'm not sure how to do it, can anyone give me some ideas of workarounds?

Thanks!

PS: If anyone can PM me how to contact Brad then that would be great so I could ask him personally.

 

Sorting a Listview acting as treeview (topmost parent only) -
I have come across the LVItemTree of Brad Martinez here. I want to add a sorting capability to it even with the topmost parent only but I'm not sure how to do it, can anyone give me some ideas of workarounds? Thanks! PS: If anyone can PM me how to contact Brad then that would be


SQL Retrieve Link Lists in Treeview Order -
I have a table of Names with a Parent Link, I Want to be able to perform a SELECT that returns the Records in order starting at the topmost (no Parent) to the botom most childs. This is going to be used to populate a Treeview so I need them in an order so that the creation of the Tr


sort only a specific node in a treeview -
I've A treeview with parent nodes and all parents have also childrens. i need to sort only the childrens in one of the parent nodes without sorting the parent nodes in the treeview because i want to keep the order of the parents. how can i do this thanks


Listview and TreeView -
Heyy, I want to load a database to treeview(i have done), and now i am thinking to use a listview to display the child nodes, which are the features of the product, i was wondering if there is a way to comunicate between the treeview an the listview. for example , the user should be ab


treeview check -
i have two tree view windows next to each other such that there are several parent in the left pane each with many chilren. if someone clicks on a parent and clicks add the parent and all its children is moved to the right hand listview. if a child is clickled on and then add pressed


This darn TreeView Part 2 -
Having succeeded in getting Items from the tree to the list, I now need to get them from the listview back into the tree view under the correct parent node. Trouble is unless the ListView has a Tag property how will I be able to determine which parent node to add it to??? help pl


listview on top of treeview -
I have two controls, one a treeview and one a listview. I want the listview on top of the treeview, but the treeview always seems to be on top. Both need to be visible. Even in a new project, one form, place these two controls on them and see. U can place other controls like a listbox


Please sort listview and recordset sort -
Hi !!! Well i am new to this forum and kind a new to VB. I have a problem with sorting listview object with recordset.i find some code on net wich offers me listview sorting but when i sort a listview my record in database stay unsortd so when i clik on some item in listview i get w


Column sorting in ListView -
ello. i'm using a ListView control and i've pretty much got it sussed apart from the sorting bit. i've got the sorting working no problem, but in a lot of programs the sort buttons (columnHeaders) have these little embedded arrows on them indicating which way the column is sorted i


Redim a TreeView and a listview at the same time -
Hello, U have a form with a TreeView and a ListView in it. I wondered if it was possible to redim simultaneously the width of a Treeview and a listview (making one larger and the other one smaller). See pic in attachment for the situation ;-) In fact exactly the way you can r


treeview w/ columns -
how hard is it to go about making a treeview with columns? like a listview / treeview combination... i would inherit the treeview and the column header and the listview subitems.... i think.. i don't have much experience w/ custom controls, only very very simple stuff... how imp


FOUND IT! I'm in TreeView heaven! -
Well, no gurus responded to my earlier posts regarding the TreeView questions I had, especially on how to scroll the TreeView when dragging and dropping a node. So I was forced to take matters into my own hands! After surfing for a while I found what I was looking for at: http://supp


ListView Sorting -
Hi!! I have a listview with three columms (Name, FileType, Size). And i want to sort ascending the listview but by the 2 column values, because when i make: lv1.Sorting = SortOrder.Ascending he only sorts it in relation to the first columm. Thks a lot!!


How can you loop through the Parent nodes of a treeview -
I am having trouble looping through just the first level (Parent) of a treeview. How can this be done without looping thru every item in the treeview?


Treeview or listview label edit using menu -
hi i want to impliment a project in which we are using treeview and listview control . my problem is at runtime i want to edit label of treeview and listview. so please suggest me how will i do to . thanx regards Amit Pardeshi


TreeView Parent question -
I have a TreeView control with multiple Parent and Child nodes that are added dynamically at runtime. How can I determine the Parent (preferably the index of) of the child node that the user clicks? I have attempted to use Treeview1.SelectedNode.Parent.Index I keep receiving '


Using checked items in a treeview -
I have a treeview with a few parent items and alot of children items. I have two questions about the treeview. 1. If I check the parent item, how do I make it automatically check all the children items it contains, or should I disable the checkboxes for the parent items, if so how?


Sorting Columns in Listview -
Hi, I would like to add the functionality of sorting by cliking on the Headings in my ListView. Is this possible? Does the control take care of this for you? Do you have to code it? How?


sorting listview.. keeping Total on top... -
i've tried various listview sorting classes for VB.net and all them seem to work but I have one problem.. my item(0) is always total, and I always want that in the first position in the listview (top). however, when I sort by various columns, it gets tossed all over the place. i


TreeView find if Child = Parent -
Greetings, is there a fast way to check if an node has a subnode and the subnode has a subnode --- stop what I try to ask - I need a function returning a bool if the clicked node contains nodes which acting as parents. if all childrens on this clicked node are only childs the


TreeView! -
I am using a TreeView control in a VB6 project. The TreeView has one parent node which has 4 child nodes. I did like to get rid of the vertical & horizontal TreeLines along with the "+" & "-" signs in the TreeView control. Also the parent node shouldn't be e


Listview Parent Control -
Does anyone know how to get the parent control of a listview. The listview object doesn't have .PARENT or .SOURCECONTROL. It does have .GetContainerControl but I don't know how to use it to return the parentcontrol Many thanks


TreeViews and ListViews Controls -
I'm developing an explorer type app with a treeview and a listview. The rigtht side edge of the treeview comes in contact with the left side edge of the listview. I can't figure out how to resize these edges (of the treeview and the listview) at runtime so it will just be very similar


sorting with listview control -
how can I sort a list using the second or third item in the listview for example number value --------- ------- I want to use value for sorting but I didn't find how could i do that. In visual basic we can choose a key for sorting. does C# includes a key like visual basic.


Listview sorting issue -
I have a typical problem while refilling a sorted listview. I have three columns in a listview view and have a proper functionality to sort the contents of the listview as per the column headers clicked. Now comes the problem, say I sorted the listview view by clicking column 1 and now


Count No. of Parent Nodes! -
Clicking a CommandButton invokes a TreeView. When the CommandButton is clicked, before the TreeView gets rendered, how do I find out which Parent nodes don't have any children & delete such childless Parent nodes?


Sorting File Size in ListView -
Hi, I've got a ListView that shows the path of files, file name, size & date. I want to be able to sort the listview by size, but when doing so it doesn't return the results I'd expect. The reason for this is beacuse the field in the ListView is a string. The Size is sho


question treeview - listview -
This is probably a easy question but I don't know how to do it or if it can be done. I have a treeview and a listview on my program. they both list the same movie names but what I'm wanting is that when I click the movie in the listview the same movie is selected in the treeview as wel


<Tab Strip And Treeview Controls> -
Ok...have a SSTab Control and it is acting weird..least ways to me. It has three tabs. Inside the 3 tabs I have 3 treeview controls. Whatever tab I have clicked in design time displays the treeview content properly in run time with the other two shifting the treeview text 1 or 2 inch


Problems ListView/TreeView -
Hi , I am facing following problems 1.Listview/treeview taking gurbage value for cddrives and floppy. whereas drive is empty. 2.How to check all files,folders and subfolders when a node is checked within treeview. And also I want to know what API I can use for the follow


[2005] TreeView & ListView Like With Windows Explorer -
Hi , I want To do Like on Widows Explorer I have a TreeView in The left & ListView In right I have done a Searching for Directory & Files in Treeview but doesnt Show The files That are inside Directory & Icon Doesnt exist so what I need is I get The Full Director


Loading TreeView and Listview icons from a specified folders or files icons. -
Hello, I am creating a treeview app that looks like windows explorer. Problem is that I do not know how to get the Treeview + Listview icons from the folder or file items being loaded. Can anyboby help please................................ Thanks vbBoy.


get topmost windows -
hi friends, In my application i periodically set the forms to the topmost position. at any instance how can i get the topmost form's name. thanks


List and Treeview problem -
Can someone please help me. I am using a listview and a treeview to display information. In either view. if I select a line twice the text seems to go into edit mode (although it is not really changed - it just looks like it) - similar to renaming a file in windows explorer. Can I d


[2008] Waiting progressbar for listview -
Hi All. My WPF form has listview which populated by treeview. When I click one of the treeview item listview populated in a moment. But when I click some of them the listview loads 2-4 sec. How to insert waiting progressbar or GIF image for listview to indicate for users about loading


old question *** not resolved *** -
how can i loop through a TreeView and do action of the child of each parent? that is, i have max of 10 parents in the treeview, each parent has max of 10 childs, and each child has only two childs. i need only to perform some actions on the first child (child of parent not child


Treeview contents to file -
I have a treeview control on my form. When i press a button, I want the program to dump the contents of the treeview into the file. I am having no problem saving the contents, but when it comes to loading them from the file later on, I had an error because i was loading a child Nod


listview control sorting in details -
how can I sort a list using the second or third item in the listview (detailed) for example number value --------- ------- I want to use "value" for sorting but I didn't find how could i do that. In visual basic we can choose a key for sorting. does C# or vb.net in


treeview opens and closes first time -
Hello, I have a problem when using the treeview. I have a form that loads a few parent nodes into a treeview when the form loads. The problem is that when the user clicks on a parent node the first time only, the parent node expands showing the child nodes, and then colapses insta


Sorting ListView Columns -
Numeric values in the ListView column are sorting ASCII. How do I sort numerically when I click the column?