Author | Message | Time |
---|---|---|
FuzZ | Well, only sometimes does this happen but my Lag icon which is a SubItem on the ListView are not always properly removed when it removes the item. (excuse my ignorance on listviews, i don't completely understand them yet.) Example: [img]http://www.bloodynub.com/files/index.php?dir=bnet%2Fbots%2Fowns%2F&file=owns-v1-13.jpg[/img] It's even worse in this one that I just took [img]http://www.bloodynub.com/files/index.php?dir=bnet%2Fbots%2Fowns%2F&file=owns-v1-13_2.jpg[/img] This happened last night when we were getting floodbotted Sometimes it's even worse with the latter of the entire list messed up with different lag icons. And, I noticed in that picture it's not even lined up correctly. If you need code, just ask. | April 1, 2004, 4:03 PM |
Puzzle | [code] frmMain.lwRoomUsers.ListItems.Remove (frmMain.lwRoomUsers.FindItem(User).Index)[/code] If that doesn't help then post some code. | April 1, 2004, 5:52 PM |
Gangz | Did you make sure you have it removing the whole line instead of split it and trying to remove both? | April 1, 2004, 6:04 PM |
Eli_1 | This happens to me sometimes. Another thing similar to this that happens is all the icons for a certain client will tweak out and appear different. I don't know why this happens but if you drag the bot past the side of the screen and bring it back, it will look right again :P | April 1, 2004, 7:34 PM |
Stealth | I don't quite remember how I fixed this, so long ago. Many releases ago I had this problem, I believe it was solved by .Refreshing the listview. Try it and let me know. [code]'pseudocode Listview.Enabled = False 'add/remove user Listview.Refresh Listview.Enabled = True [/code] You may have to switch the Enabled and Refresh calls. | April 1, 2004, 8:00 PM |
FuzZ | [code] Public Sub DelNick(ByVal strNick) frmBNet.lstNicks.ListItems.Remove .FindItem(strNick).Index End Sub [/code] I haven't experienced anything with client icons...yet.. lol I'll try that stealth, thanks.. Edit-> So far it seems to be working, but I haven't been in a real high traffic channel yet.. probably just gonna have to wait to check that end of it out. Sorry it took me so long but I've been working on adding BNLS for war3, which also i'm having trouble with but that's another story :P | April 1, 2004, 9:53 PM |