Valhalla Legends Forums Archive | Visual Basic Programming | listview user leave question

AuthorMessageTime
JetBlk
hello i am having problems with removing people from my list view for the bnet bot channel list. It removes fine but the problem is that where the user has been removed, there is a blank space. Once another user joins the channel the space is filled. when the first person leaves, shouldnt the people below him move up to fill the space? here is the code how i remove the user under the leave handler...

[code]
frmMain.lvChannel.ListItems.Remove frmMain.lvChannel.FindItem(Username).Index[/code]

how would i make the people in the list below the user that left move up to fill the space?

thanks
April 8, 2006, 12:50 AM
FrOzeN
Add this after removing users from the list,
[code]frmMain.lvChannel.Refresh[/code]
April 8, 2006, 1:55 AM
JetBlk
tried that already... somone on irc told me to set it to report... i had it in SmallIcon style before.... Once i set it to report nothing would add for some reason. Any ideas?

*EDIT*

Got it to work with the help of "TehUser" on irc
April 8, 2006, 2:03 AM

Search