"Mihai" <bv*****@telus.netwrote in message
news:iGXbi.18151$vT6.8430@edtnps90...
In a list box I have on each line a combination of string1 + String2.
I want to write string 1 with a colour and string2 with another colour.
I tried to use string1.format but I cannot find any styles arguments for
string.
Is it possible ?
If yes, please give me an example .
regards,
Mihai
Mihai,
Colors have nothing to do with strings, that is why you would see no
arguments like that.
Is this a windows app or asp?
For a listview in a windows app you cannot have different colors for the
same item. The string you would provide would be one color not a
combination.
For asp you create a listitem and apply attributes to it to get the back
and fore colors. There is still a restriction that the entire string will
be the fore color so again no multi-color listitems.
Lloyd Sheen