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
Hi Mitch,
WJ-7921 is also included in build 1.3.22
Best regards
Frank
Thanks Mitch,
I have logged WJ-7921 for that issue.
Best regards
Frank
Please login first to submit.