a listview bug?

  • Thread starter Thread starter Altan Tunaboylu
  • Start date Start date
A

Altan Tunaboylu

Hi All,

i've got a listview.2 colums and 160 items.

When i wanna change a "subitem(1).text";

it change,but listview don't refresh.so,i can't see it.

what can i do?

!!!ps.:if my listview have 50 items,no problem.It's working good.

my code:

strListedeki = Trim(lstMusteriler.Items(intListeSira).SubItems(1).Text)

If strListedeki = "-" Then

lstMusteriler.Items(intListeSira).SubItems(1).Text = Trim(strTip)

Else

lstMusteriler.Items(intListeSira).SubItems(1).Text = strListedeki &
Trim(strTip)

End If
 
Hello Altan,

I'm not able to reproduce the problem you're talking about, even with a
2-column ListView containing several hundred items. Would it be possible
for you to share more of your code that updates the ListView control in
addition to what you included below?

Also, are you seeing this problem on the emulator and on the device? What
kind of device are you using? And what version of the Compact Framework
are you using?

Thanks,
--Joe


--------------------
| From: "Altan Tunaboylu" <[email protected]>
| Subject: a listview bug?
| Date: Thu, 2 Oct 2003 11:22:27 +0300
|
| Hi All,
|
| i've got a listview.2 colums and 160 items.
|
| When i wanna change a "subitem(1).text";
|
| it change,but listview don't refresh.so,i can't see it.
|
| what can i do?
|
| !!!ps.:if my listview have 50 items,no problem.It's working good.
|
| my code:
|
| strListedeki = Trim(lstMusteriler.Items(intListeSira).SubItems(1).Text)
|
| If strListedeki = "-" Then
|
| lstMusteriler.Items(intListeSira).SubItems(1).Text = Trim(strTip)
|
| Else
|
| lstMusteriler.Items(intListeSira).SubItems(1).Text = strListedeki &
| Trim(strTip)
|
| End If
|
|
|
 
Back
Top