Click here to Skip to main content
15,923,006 members
Home / Discussions / C#
   

C#

 
GeneralRe: ComboBox SelectedItemChanged event Pin
James T. Johnson3-Jul-02 14:43
James T. Johnson3-Jul-02 14:43 
GeneralRe: ComboBox SelectedItemChanged event Pin
paulb4-Jul-02 13:16
paulb4-Jul-02 13:16 
GeneralListView remove item problem!! Help please Pin
Brandon Parker3-Jul-02 12:19
Brandon Parker3-Jul-02 12:19 
GeneralRe: ListView remove item problem!! Help please Pin
Orion Buttigieg3-Jul-02 12:44
Orion Buttigieg3-Jul-02 12:44 
GeneralRe: ListView remove item problem!! Help please Pin
Brandon Parker3-Jul-02 13:00
Brandon Parker3-Jul-02 13:00 
GeneralRe: ListView remove item problem!! Help please Pin
James T. Johnson3-Jul-02 14:35
James T. Johnson3-Jul-02 14:35 
GeneralRe: ListView remove item problem!! Help please Pin
Brandon Parker3-Jul-02 15:00
Brandon Parker3-Jul-02 15:00 
GeneralListView Control Pin
Orion Buttigieg3-Jul-02 11:32
Orion Buttigieg3-Jul-02 11:32 
hello,

i'm trying to do 2 things with this control.

the first is add a value to a sub-column of a row(or officially stated, the sub item to the item). the catch is, i can add the item to the row if its Selected. such as:

listView.Items[listView.SelectedItems[0].Index].SubItems[1].Text = this.textBox_Value.Text;

if i try to add the value without a row being selected it crashes the control. if i try:

item.SubItems.Add(this.textBox_Value.Text);
this.listView_Parameters.Items[0] = items;

it just adds it to the second column of a new row.

so how do i add a value to a particular row/sub-column without selecting that row?

the second, i've also been trying to show a row as being Selected with the blue line. ideally i'd like to put a value in the control and show it as if its been selected.

any advice would be greatly appreciated.
i'm probably missing something obvious...WTF | :WTF:

thank you,

Orion
GeneralRe: ListView Control Pin
Brandon Parker3-Jul-02 12:10
Brandon Parker3-Jul-02 12:10 
GeneralRe: ListView Control Pin
Orion Buttigieg3-Jul-02 12:30
Orion Buttigieg3-Jul-02 12:30 
GeneralRe: ListView Control Pin
Brandon Parker3-Jul-02 12:50
Brandon Parker3-Jul-02 12:50 
GeneralRe: ListView Control Pin
Orion Buttigieg3-Jul-02 13:00
Orion Buttigieg3-Jul-02 13:00 
GeneralQOYesterday Pin
Mazdak3-Jul-02 8:55
Mazdak3-Jul-02 8:55 
GeneralRe: QOYesterday Pin
SimonS3-Jul-02 21:55
SimonS3-Jul-02 21:55 
GeneralNeed easy way to write plugin Pin
leppie3-Jul-02 7:49
leppie3-Jul-02 7:49 
GeneralRe: Need easy way to write plugin Pin
James T. Johnson3-Jul-02 9:52
James T. Johnson3-Jul-02 9:52 
GeneralRe: Need easy way to write plugin Pin
leppie3-Jul-02 10:39
leppie3-Jul-02 10:39 
GeneralRe: Need easy way to write plugin Pin
James T. Johnson3-Jul-02 22:33
James T. Johnson3-Jul-02 22:33 
GeneralRe: Need easy way to write plugin Pin
leppie4-Jul-02 0:16
leppie4-Jul-02 0:16 
GeneralRe: Need easy way to write plugin Pin
leppie4-Jul-02 2:19
leppie4-Jul-02 2:19 
GeneralRe: Need easy way to write plugin Pin
James T. Johnson4-Jul-02 4:20
James T. Johnson4-Jul-02 4:20 
GeneralRe: Need easy way to write plugin Pin
leppie4-Jul-02 5:54
leppie4-Jul-02 5:54 
GeneralRe: Need easy way to write plugin Pin
leppie4-Jul-02 10:41
leppie4-Jul-02 10:41 
GeneralRe: Need easy way to write plugin Pin
James T. Johnson4-Jul-02 14:46
James T. Johnson4-Jul-02 14:46 
GeneralRe: Need easy way to write plugin Pin
leppie4-Jul-02 20:22
leppie4-Jul-02 20:22 

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.