Allow Users To Select Their Own Grouping For A TreeView Control?

Jun 3, 2010

I am using a treeview to display projects, tasks, time entries, and the people who are working on a project. I would like to allow the user to define a custom grouping (ie. Project->Task->Time Entries or Project->Date (of time entry)->Task->TimeEntry).The relevant groups would be Project, Task, Time Entry, and Person, with some metadata from them. I want to have some modular way to allow a user to specify how they would like to display the information. Does anyone know of a good method by which this can be done? I currently have hard-coded a display which looks like this:

Project
Task
Time Entry

[code]....

View 1 Replies


ADVERTISEMENT

Forms :: Allow Users Select File(s) From One Control And Drag Them To Another?

Sep 17, 2009

I am trying to make a form that can be used to allow users select file(s) from one control and drag them to another. I am stuck. I have done a bunch of research and now have a form that allows the user to select a directory and display the files in a listbox. It works intermittently. The select directory window works when I click the Browse button and it reports that it found a number of files. But they are not in the listbox. When I walk thought the code in DeBug the files are listed.

View 2 Replies

.net - Right Click To Select A Node In A Treeview Control?

Aug 31, 2011

Why I right click on a node in my treeview the focus moves to this node and then immediately back to the previously selected node. Is there some way that I can allow the right click to select the node?

View 2 Replies

Treeview - Grouping Dates By Month & Year?

Mar 18, 2009

I have a tree view that shows quite a lot of dates, I want to be able to group these dates into Year & Month nodes respectively for example I would get 2 parent nodes '2008' & '2009', the '2008' node will only contain 'November' & 'December' and '2009' will contain 'January', 'february', 'March' etc all these nodes will be based on dates I will be adding to the treeview so the years and months will change depending on the dates being added.i.e - dd/mm/yyyy30/11/200830/12/200801/01/200902/01/2009if I were to put the above dates into the treeview I would get 2 parent nodes '2008' and '2009'in '2008' Would be November & December, and in '2009' would just be January.

View 2 Replies

Treeview Control / Select Tree Node And Highlight Corresponding Html?

Mar 11, 2010

I have a webbrowser control & a treeview control...once I load a website I create a HTML DOM tree representation of the website using the code below...What I want to do now, is the following:mouse over any HTML element, which will then select the corresponding tree node on the HTML DOM Tree select any tree node and have the corresponding HTML element highlight, with a red border around it?

Private Sub UpdateDOM(ByVal HTMLDocument As mshtml.IHTMLDocument3)
TreeView1.Nodes.Clear()
TreeView1.BeginUpdate()

[code].....

View 2 Replies

Send A File To Multiple Hosts By Which Sites They Select On Treeview Control?

Sep 4, 2009

I'm Trying to send a file to multiple hosts by which sites they select on the treeview control. I can't figure out how to set it up.[code]...

View 2 Replies

ListView Control Grouping?

Feb 17, 2010

I did attempt searching but it just gave me a "505 bad gateway error".So my issues is the grouping header isn't working lol.

ListView1 - name of the ListView control
3 columns added to lv
3 items added to lv

[code].....

View 8 Replies

Using Treeview To Select One From The Other The Code Contains The Case Select?

Oct 31, 2010

ive got a form containing treeview on the left docked, and two panels one over the other (just as for practice), so i am using treeview to select one from the other the code contains the Case select,

If
Not e.Node
Is
Nothing

[code]....

The problem is , both panels are not visible, when i select the first node the firstpanel is visible then i select the second node both panels are not visible, i return to the first node the first panel is visible.

View 2 Replies

Customformat DateTimePicker To Only Allow Users To Select M-F?

Jun 21, 2010

Is there a way to customformat DateTimePicker to only allow users to select M-F?

View 3 Replies

VS 2008 Select Users And Count Orders?

Aug 21, 2010

I've tried to write a code which will count the orders for each person in my users table. This is what I have but it's not working. What is wrong?

vb.net
Dim command As New SqlClient.SqlCommand("SELECT *, COUNT(Orders.Username) FROM Users LEFT OUTER JOIN Orders ON Users.Username = Orders.IssuedBy ORDER BY Users.PersonName")

View 3 Replies

How To Select All Nodes Of Treeview

Dec 14, 2010

i have tree view controand i want To select all nodes of tree view

View 2 Replies

Build A Nice-looking Menu That Allows Users To Select Certain Items?

Apr 28, 2011

I am trying to build a nice-looking menu that allows users to select certain items. When they hover over the items, a nice highlight color fades in and then out when they leave the item. Anyways, it looks very nice, but I don't want to have to use a "page" style. (e.g., page 1 contains 6 items, click "Next" to go to the next page of 6 itesm) I'd like to allow the user to scroll through the items. I'll develop my own GUI for the scrollbar, however I have absolutely no idea where to start on actually fitting all of the items into like a 400x200 box, and allowing the user to scroll up and down through the items. The items are actual controls (e.g. each item contains a picturebox, a couple of labels, a couple of buttons collectively).

View 3 Replies

TreeView Item Select Not Highlighting

Jul 20, 2009

I have a search function that opens a showdialog form that has a listview of items returned from the user search. The idea is the user selects from the listview and the matching item then selects in the tree view.

Okay so all works fine except that the selected item in the treeview does not highlight in blue like it should. It does indeed select it but it does not highlight.[code]...

View 2 Replies

VS 2008 - How To Select Node On TreeView

Feb 12, 2011

I'm Trying to select node on treeview with:
Try
Dim nodes As TreeNode() = TreeView1.Nodes.Find("Test", True)
Dim node As TreeNode
For Each node In nodes
TreeView1.Focus()
TreeView1.SelectedNode = node
Next
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
As you can see I'm trying to select the node "test" which is also sub-node. But I get no error nor a selected node.

View 4 Replies

VS 2010 Treeview After Select Error

Jan 23, 2012

it seems when the treeview loads I get an error [code]I cannot get the error in debug mode.

View 4 Replies

Treeview Control That Works Similar To Apples Finder Control In Column View?

Feb 1, 2012

I have a requirement for a new application development where I must present some information to the user for selection via drag and drop. VB offers the TreeView control which would work nice, however the user does not like the Treeview control's presentation. The user wants a control that work similar to the Mac's Finder control while in column view.

Apple's Mac Finder Control works similar to window's treeview. Finder has a nifty view capability that my users would like in some new development that is being done. The finder supports a "column" view. Similar to the treeview, it starts out in a root list. The difference being, when a user makes a selection and clicks on a node, the node doesn't expand, the sub nodes appear on the pane to the right of the list. Clicking on a sub node, will cause the pane to split again and the items within that sub node appear
to the right again.

This will happen again and again with the left pane getting narrower as the user drives deeper into the sub nodes. That is what I am trying to replicate. Obviously, once the user reaches the base list of items, we have to support drag and drop capability. Does anyone know of a control for VB.NET that work similar to the Mac's Finder control?

View 2 Replies

Forms :: TreeView - Any Way To Select Node With Right Click?

Nov 19, 2009

I have been working with VB 6.0 for years. I am converting an app that uses treeviews to VB.Net 2008. The way it use to work the tree grid started with a list of the drives on the system. Left click drilled down in the selected drive or directory. Right click would perform an action with the selected drive or directory. In VB.Net it appears you can only select with left click using the AFTERSELECT event. Is there a way to select a node with right click?

View 1 Replies

Select A Default Node In A Treeview(dirDB)?

Jul 30, 2009

I would like to select a default node in a treeview(dirDB). That comes from a default drive selected in a combobox(drvDB) that selects files and puts them in a listbox(filDB) i haven't added anything to do that yet. at the moment i have this code:

If optMData.Checked Then
drvDB.SelectedValue() = "M:"
dirDB.SelectedNode.Text = Microsoft.VisualBasic.Left(CStr(drvDB.SelectedItem), 2) & "ase_wdata"
End If

I bet there is a function or a selectNode If kindof thing? i am totally looking over that can choose these. vb seems very good at putting things right infront of me and i just completely miss them..

View 7 Replies

Treeview - Add New Node And Select Text For Editing

Jun 27, 2009

I want to add nodes that behave in a similar fashion as when you add new folders in windows explorer. i.e. right click > new folder > then the new folder is added and highlighted as New Folder so that as soon as the user types they are overwriting the folder name.

I can add a new node as a child node of the node I have selected and label it "New Node" but I can't figure out how to select the new node and have it highlighted so that when the user types, they are overwriting the "New Node" text.

I have tried this but it doesn't work.

Private Sub AddProjectToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AddProjectToolStripMenuItem.Click
Me.trvProjects.SelectedNode.Nodes.Add("New Node")
Me.trvProjects.SelectedNode = trvProjects.Nodes("New Node")
Me.trvProjects.Focus()
End Sub

View 3 Replies

TreeView Item Select When Click Button

Aug 22, 2009

I am trying to make it so when someone clicks on an item from a treeview it will show lets say and image. And when they click on another it will show lets say a button. How do I do this?

View 2 Replies

VS 2005 TreeView Select Node And All Children

Jul 3, 2009

I have a TreeView populated with some nodes, and some of those nodes have children. Is it possible that when the node, or child is selected that the entire node including the children be selected? I still want to deal only with the value of the root node, but for the UI I want the root + children to be selected.

View 5 Replies

Forms :: Let The Users To Select Their Desired Wallpapers In The Window Main Form?

May 23, 2010

I wanted to let the users to select their desired wallpapers dynamically in the window main form. Is it possible? Funtional spec:

1. Let the users to select their desired wallpapers from any directory.

2. Save the wallpaper in the database.

3. Load the wallpaper in the main form after login sucessful.

View 1 Replies

VS 2005 TreeView ID - Select A Node From My Tree View

Mar 28, 2009

I want to select a node from my tree view, whatever I select is going to get a record from my database, I need a unique ID in each node so it will collect the correct document relating to the selected node.

How can I do this? the name of the node maybe used more than once? Each row in my database has an ID and Title, the title is the name I guess the ID being unique needs to be tied in somehow.

View 9 Replies

VS 2010 Programmatically Select A Node In Treeview After Move?

Feb 5, 2012

I'm using the following sub routines to allow the user to move treeview nodes up/down:

Public Sub MoveNodeUp(ByVal Nod As TreeNode)
Try
If Not (Nod.PrevNode Is Nothing) Then
Nod.Parent.Nodes.Insert(Nod.Index - 1, CType(Nod.Clone, TreeNode))
Nod.Remove()

[Code]...

Is there a simple way to keep the moved node selected after the move?

View 3 Replies

Create A Program Which Will Allow Users To Select Multiple Files From A List And Then Burn Them All To A Playable DVD?

Oct 24, 2011

I am trying to create a program which will allow users to select multiple files from a list and then burn them all to a playable DVD. It would be wonderful if i could setup a custom menu programatically as well. I have seen some documentation on Imapi 2.0 but i have not been able to find too much suppoert for it. I have also found a few SDK's out there but most are over $1000 which just isnt in the budget.

1) Is there a library included in windows 7 that will allow me to do this.

2) Is there an inexpensive or open source sdk with good documentation out there to do this with

View 4 Replies

Interface And Graphics :: VB Map Application - Enable Users To Select A Map Zone Of A City Centre?

Nov 7, 2009

I am developing an application for an emergency services organisation using VB 2008 that will enable users to select a map zone of a city centre and plot icons onto it, then save/export the layered map with icons as an image.My problem at the moment is that I am struggling developing the point where the user imports in the icon (for example, a flame icon where a fire started) and drags it around the map within the picture box to the required area.I want them to be able to select their desired icon from a series of commandbuttons and for the icon to 'appear' on the picturebox and be enabled to be dragged around and dropped as required. The organisation already has such a thing working in Microsoft Word (!) and that uses the ActiveDocument.Shape.LoadImage function on a pushbutton to import the icon and then it is placed on the map as required, but this is really unreliable for them.I dont even know if you can layer images onto an existin picturebox within an application in this way and then export as a flat image.

View 3 Replies

Forms :: Select TreeView Node By ListView Selected Item?

Mar 23, 2010

I have been playing with, and researching, this all day and can't figure it out. I have a Windows Explorer style form with a TreeView and a ListView. I've populated the TreeView with directories and when a node is selected, the ListView fills with the contents of the directory associated with that node. No problem there, but I want to be able to select a directory in the ListView and automatically select the associated node in the TreeView, just like it works in Windows Explorer. All the information I've found online tells me how to populate the ListView from the TreeView, but I haven't found any good examples of how to populate the TreeView from the ListView.

[Code]...

View 7 Replies

[2008] Treeview Right-click Menu Must Select Item Moused Over

Feb 3, 2009

I've got a right-click menu that comes up in a treeview - with an option to ADD to that parent node or delete a child node.

Currently I'm using the SELECTEDNODE - but what I really want to do is change the "selected node" when the right-click occurs. But I'm having a hard time seeing how to do that...

How do you use this event properly??

Private Sub CapabilitiesTreeView_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles CapabilitiesTreeView.MouseClick
Me.CapabilitiesTreeView.SelectedNode =
End Sub

View 1 Replies

VS 2008 - Checkbox On Treeview - Collapse And Expand Treeview When Click Plus Sign (+) On Treeview

May 14, 2011

I have a problems with my application..

1. collapse and expand treeview when i click plus sign (+) on treeview, treeview didn't expand subfolder but when i click image, treeview expand it.

2. showing path that i check on treeview when i check the treeview then i'm click the button, then return path that i check

This is my code..

View 2 Replies

Repeater Control Overlapping For Some Users?

Oct 29, 2010

My whole websites makes use of the ASP.NET(2.0) repeater control and I have been getting some complains from people that they cant view my site as the controls are overlapping.This sounds like a browser issue to me as I never see it in IE8 or IE7 or Chrome or Firefox.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved