• Welcome to Valhalla Legends Archive.
 

I'm having trouble setting a certain forecolor for user list

Started by gosu, May 26, 2003, 03:24 PM

Previous topic - Next topic

gosu

what i am trying to accomplish is to add a specific color for each user, for example, if someone had the icon "SEXP" or the flag "13" then it will add the user to the list with the designated color.  i'm not getting any luck with this, any suggestions?

i tried:

   If StrFlag = "1" Then
   Users.ListItems(1).ForeColor = vbYellow
   ElseIf StrFlag = "13" Then
   Users.ListItems(1).ForeColor = vbWhite
   ElseIf StrFlag = "9" Then
   Users.ListItems(1).ForeColor = vbBlue
   End If


and:

   If Icon = "SEXP" Then
   Users.ListItems(1).ForeColor = vbYellow
   ElseIf Icon = "D2XP" Then
   Users.ListItems(1).ForeColor = vbWhite
   ElseIf Icon = "STAR" Then
   Users.ListItems(1).ForeColor = vbBlue
   End If

OcTaViuS


gosu


Tazo