Try writing ur code in the handler for SelectedValueChanged event. The ItemCheck event is triggered just BEFORE an item is about to be checked...and the value is updated only AFTER this event completes...that explains the "lag" u xperienced! private void listview_SelectedValueChanged(object sender, System.EventArgs e) { System.Text.StringBuilder newText = new System.Text.StringBuilder(); System.Windows.Forms.CheckedListBox.CheckedItemCollection col = clv.CheckedItems; foreach (Object obj in col) { // newText.Append(obj.ToString() + ", "); } t1.Text = newText.ToString(); if (t1.Text.EndsWith(", ")) { t1.Text = t1.Text.Substring(0, t1.Text.Length-2); } } Zippy
Z
ZippyBubbleHead
@ZippyBubbleHead
Posts
-
checking items in a ListView -
GPRS communication - PocketPC-SmartPhone..Hi! I have a smart phone device based on GSM/GPRS. I used the VS extension ...Smart Devices Extension to build an application (the GUI and all) for the phone. But now I need to talk to another device which is also GPRS based. I want a minimal functionality of passing strings from my device to the other. How do I do this? Could you tell me where I can find information on this topic? Zippy