TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
gavriel ankri
NA
39
48.5k
how to change a color in listbox
May 13 2011 7:56 AM
hello
I am building a chat client with a listbox
I want that each client will choose his own text color in the chat
I did it in this way:
void cc_ReadMsgEvent(MessageFormat card)
{
UpdateListBox(card.ToString());
listBox1.ForeColor = card.myColor;
}
However, when I do it, it changes the color of all the text in the listbox, and I want to change the color
only of one line each time. how can I do it ?
thank you
Reply
Answers (
8
)
Resizing the application resolution according to screen resolution in vb.net
Set last item added (not the last item in the listview) to listview as selected item