Click here to Skip to main content
15,914,481 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is scrollbar hidden? Pin
Luc Pattyn14-Mar-10 13:29
sitebuilderLuc Pattyn14-Mar-10 13:29 
QuestionProblem to save assembly via System.Reflection.Emit. Pin
hdv21214-Mar-10 9:56
hdv21214-Mar-10 9:56 
AnswerRe: Problem to save assembly via System.Reflection.Emit. Pin
Luc Pattyn14-Mar-10 11:35
sitebuilderLuc Pattyn14-Mar-10 11:35 
QuestionProgrammingly Change treeview indexes Pin
Ronni Marker14-Mar-10 7:34
Ronni Marker14-Mar-10 7:34 
I have a Treeview where I want to programmingly change index, but aparently that is a challenge that is more than I can do on my own.

My treeview looks like this

Node1(Groups)
+Child1
+Child2
+Child3
Node2(New node to insert)
Node3(Search Result)

Above is the wanted treeview layout.

I have manually added Node1 with child nodes, and Node3.

Now I wanted to add the node, as in this example called Node2, but how do i add this node, sort the Node rows and still make sure that Node1 stay in top and Node3 always is at the end?

Any taker on this idea?

I had initially thought to change treeview1.nodes["Node1"].index = 0 and treeview.nodes["Node3"].index = treeview1.lastindex, but that would not work, as index is read only.
AnswerMessage Closed Pin
14-Mar-10 7:56
stancrm14-Mar-10 7:56 
GeneralRe: Programmingly Change treeview indexes Pin
Ronni Marker14-Mar-10 8:42
Ronni Marker14-Mar-10 8:42 
GeneralRe: Programmingly Change treeview indexes Pin
Dan Mos14-Mar-10 13:44
Dan Mos14-Mar-10 13:44 
QuestionEditing Text in a DataGridViewComboBoxColumn Pin
jojoba201114-Mar-10 4:48
jojoba201114-Mar-10 4:48 
AnswerRe: Editing Text in a DataGridViewComboBoxColumn Pin
Sandeep Mewara14-Mar-10 8:08
mveSandeep Mewara14-Mar-10 8:08 
QuestionRe: Editing Text in a DataGridViewComboBoxColumn Pin
jojoba201114-Mar-10 19:18
jojoba201114-Mar-10 19:18 
QuestionDataGridView Combobox DataError Exception Pin
arj_agt14-Mar-10 4:22
arj_agt14-Mar-10 4:22 
AnswerRe: DataGridView Combobox DataError Exception Pin
Luc Pattyn14-Mar-10 6:32
sitebuilderLuc Pattyn14-Mar-10 6:32 
GeneralRe: DataGridView Combobox DataError Exception Pin
arj_agt14-Mar-10 19:22
arj_agt14-Mar-10 19:22 
GeneralRe: DataGridView Combobox DataError Exception Pin
Luc Pattyn15-Mar-10 1:10
sitebuilderLuc Pattyn15-Mar-10 1:10 
AnswerRe: DataGridView Combobox DataError Exception Pin
arj_agt16-Mar-10 21:29
arj_agt16-Mar-10 21:29 
Questionwindows mobile mouse hook Pin
umutumsu14-Mar-10 4:20
umutumsu14-Mar-10 4:20 
AnswerRe: windows mobile mouse hook Pin
#realJSOP14-Mar-10 4:26
professional#realJSOP14-Mar-10 4:26 
GeneralRe: windows mobile mouse hook Pin
umutumsu14-Mar-10 10:43
umutumsu14-Mar-10 10:43 
GeneralRe: windows mobile mouse hook Pin
#realJSOP14-Mar-10 10:44
professional#realJSOP14-Mar-10 10:44 
GeneralRe: windows mobile mouse hook Pin
umutumsu14-Mar-10 10:48
umutumsu14-Mar-10 10:48 
GeneralRe: windows mobile mouse hook Pin
#realJSOP14-Mar-10 11:08
professional#realJSOP14-Mar-10 11:08 
GeneralRe: windows mobile mouse hook Pin
umutumsu14-Mar-10 12:06
umutumsu14-Mar-10 12:06 
GeneralRe: windows mobile mouse hook Pin
#realJSOP15-Mar-10 0:13
professional#realJSOP15-Mar-10 0:13 
QuestionAccessing another application's Controls Pin
cdpace14-Mar-10 2:20
cdpace14-Mar-10 2:20 
AnswerRe: Accessing another application's Controls Pin
#realJSOP14-Mar-10 3:46
professional#realJSOP14-Mar-10 3:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.