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

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
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
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 1, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json