Hello There, Guest! (LoginRegister)

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to update the list after adding/removing list items
» Touch Controls Suite 1.x
Author Message
Sascha Lange Offline
Administrator
*******

Posts: 298
Joined: Dec 2008
Post: #1
How to update the list after adding/removing list items
After adding or removing list items to the TouchListBox you need to manually update the list to display changes. This is caused by the possibility of using Slide Animations while updating the list.

Use:

Visual C# Code:
touchListBox1.UpdateList();

to update the list after you added or removed list items.

Use:

Visual C# Code:
touchListBox1.Update(true);

if you want to keep the current selection after reloading the items to the TouchListbox.
mirabyte Software-Entwickler / Software-Engineer
(This post was last modified: 30-03-2010 09:19 by mirabyte Support.)
20-08-2009 22:02
Find all posts by this user
Thread Closed