Listview does not show selected row on initial display of modal form.

0
0

Looks like a small bug in the listview when you have it on a modal form.  The initial display of the modal form does not show the selected listviewitem

here is some trivial code in a popup form to show the issue:

public ListViewForm()

{

InitializeComponent();

listView1.Items.Add(“Item 1”);

listView1.Items.Add(“Item 2”);

listView1.Items.Add(“Item 3”);

listView1.Items[2].Selected = true;

}

private void listView1_SelectedIndexChanged(object sender, EventArgs e)

{

this.label2.Text = “Current selected item: “ + this.listView1.SelectedItems[0].Text;

}

When the form is shown, the listview does not show any row selected even though the listview.selectedItems.count is > 0.

http://screencast.com/t/iM60UoMpVRmd

 

 

 

  • You must to post comments
0
0

Hi Mitch,

WJ-7921 is also included in build 1.3.22

Best regards
Frank

  • You must to post comments
0
0

Thanks Mitch,

I have logged WJ-7921 for that issue.

Best regards
Frank

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.