In compact frmwk items do not show up in ListView Obj

G

Guest

when I initialize a ListView object in compact framework the listviews item
do not show up when I set the "View" to "Detail".

this is the problem:
listViewItem4.Text = "Test";
this.listView1.Items.Add(listViewItem1);
this.listView1.View = System.Windows.Forms.View.Details;

when the above is set the items cannot be viewed.
 
G

Guest

My example was flawed here is what I meant:
listViewItem1.Text = "Test";
this.listView1.Items.Add(listViewItem1);
this.listView1.View = System.Windows.Forms.View.Details;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top