Valhalla Legends Forums Archive | Battle.net Bot Development | Adding Individual Colors (ListView)

AuthorMessageTime
ILurker
How could i add a seperate color for each individual client type, for a channel list?
I know how i would specify it, but don't know how to change the color so that one perso has yellow, and another has red.
April 14, 2003, 12:18 AM
ILurker
I've seen it in many bots such as raibot and fyrebot
April 14, 2003, 2:36 AM
PaiD
You program it so any lag under 0 or equal to -1 shows the blue lag bar from the imagelist. (from him on aim)
April 14, 2003, 2:46 AM
ILurker
I'm not talking about the icons... I'm talking about the usernames. Like if a user was diablo 1 he was yellow, then if another was warcraft 3 he was blue.
April 14, 2003, 2:51 AM
kamakazie
[code]ListView1.ListItems(1).ForeColor = vbMagenta[/code]

Edit: ListView's are not zero-based :-\
April 14, 2003, 3:08 AM
ILurker
Thx
April 14, 2003, 3:49 AM
Camel
[quote author=kamakazie link=board=17;threadid=1036;start=0#msg7766 date=1050289715]Edit: ListView's are not zero-based :-\[/quote]
vb in general is not zero-based :-\
gets very annoying, especially when encrypting crap in arrays -_-
April 14, 2003, 8:33 PM
kamakazie
[quote author=Camel link=board=17;threadid=1036;start=0#msg7846 date=1050352385]
[quote author=kamakazie link=board=17;threadid=1036;start=0#msg7766 date=1050289715]Edit: ListView's are not zero-based :-\[/quote]
vb in general is not zero-based :-\
gets very annoying, especially when encrypting crap in arrays -_-
[/quote]
Oh it isn't? I thought all array are zero-based unless you set Option Base 1? Did I miss something?
April 14, 2003, 9:09 PM
drivehappy
[quote author=kamakazie link=board=17;threadid=1036;start=0#msg7851 date=1050354585]
[quote author=Camel link=board=17;threadid=1036;start=0#msg7846 date=1050352385]
[quote author=kamakazie link=board=17;threadid=1036;start=0#msg7766 date=1050289715]Edit: ListView's are not zero-based :-\[/quote]
vb in general is not zero-based :-\
gets very annoying, especially when encrypting crap in arrays -_-
[/quote]
Oh it isn't? I thought all array are zero-based unless you set Option Base 1? Did I miss something?
[/quote]
I thought so too.
April 14, 2003, 9:31 PM
TheMinistered
Anything is possible... the question is, does the implementation live up to its expectations.
April 14, 2003, 9:33 PM

Search