|
Post by Lazer on Mar 12, 2004 12:48:15 GMT -5
sup guys on the client im makeing im getting a gap in the nicklist as u will be able to c on the screen shot. does any one know why im getting this problem and does any one have a working one so i can look at it ? thanks. this is when the gap is created. this is after i hop the chan
|
|
|
Post by Dangermouse on Mar 12, 2004 13:13:35 GMT -5
Paste your code for when you add to the list , youre obviously adding an empty item
|
|
|
Post by Alexander on Mar 12, 2004 14:30:27 GMT -5
lazer if its just adding a space at the end you could always remove it using... List1.RemoveItem (List1.ListCount - 1) that will remove the last item on the list which should delete the extra blank value being produced
|
|
Maverick
New Member
www.mavetech.tk
Posts: 174
|
Post by Maverick on Mar 15, 2004 4:25:08 GMT -5
thats propably not an empty item .. it might be a space or sumthing so when adding stuff to your list
if trim(data) <> "" then list1.additem data end if
|
|
|
Post by Dangermouse on Mar 20, 2004 9:50:25 GMT -5
Maverick, tell me the difference between adding an item which is a space, and a empty item, its the same gd difference.
Alex, it would be better to try and find the cause of the problem instead of extra code to fix it.
|
|
|
Post by Alexander on Mar 20, 2004 9:59:07 GMT -5
DM, since he wont send me the code i had to work with what i had, nothin , lol
|
|
adm
New Member
Posts: 9
|
Post by adm on Mar 25, 2004 12:42:05 GMT -5
All you would have to do is get rid of the last value in the loop before adding, Alex's post was correct, however you could just use -1 from the loop.
|
|
Tewl
xTeam
C# & VB Developer
Posts: 495
|
Post by Tewl on Mar 25, 2004 13:26:37 GMT -5
hm if your still having problems with this post you code for the 353 numeric an ill tell you what ur doing wrong.
|
|
|
Post by Lazer on Mar 26, 2004 7:42:52 GMT -5
i have the nicklist working but i need to make an array to c who is owner etc then add the owner's first. then work down the list.
|
|