Click here to Skip to main content
15,888,119 members
Home / Discussions / C#
   

C#

 
AnswerRe: string concatenation: several seconds Pin
BobJanova2-Dec-11 6:15
BobJanova2-Dec-11 6:15 
AnswerRe: string concatenation: several seconds Pin
Rick Bassham2-Dec-11 6:16
Rick Bassham2-Dec-11 6:16 
AnswerRe: string concatenation: several seconds Pin
#realJSOP2-Dec-11 7:10
mve#realJSOP2-Dec-11 7:10 
GeneralRe: string concatenation: several seconds Pin
phil.o2-Dec-11 8:46
professionalphil.o2-Dec-11 8:46 
AnswerRe: string concatenation: several seconds Pin
Eddy Vluggen2-Dec-11 7:27
professionalEddy Vluggen2-Dec-11 7:27 
AnswerRe: string concatenation: several seconds Pin
BillWoodruff2-Dec-11 20:11
professionalBillWoodruff2-Dec-11 20:11 
QuestionChanging ForeColor Item in ListBox ... Pin
nassimnastaran2-Dec-11 0:41
nassimnastaran2-Dec-11 0:41 
AnswerRe: Changing ForeColor Item in ListBox ... Pin
Dan Mos2-Dec-11 1:03
Dan Mos2-Dec-11 1:03 
That's wrong cause you set the color for the entire listbox.

The best/easiest way is to set the DrawMode to OwnerDarwVariable and handle the ListBox.DrawItem event.

There you could use any brush you like to draw the text.

Just look for listboxDrawItem on bingle and you'll find lots of examples.
Smile | :)
All the best,

Dan

AnswerRe: Changing ForeColor Item in ListBox ... PinPopular
Alan N2-Dec-11 1:49
Alan N2-Dec-11 1:49 
GeneralRe: Changing ForeColor Item in ListBox ... Pin
Dan Mos2-Dec-11 1:55
Dan Mos2-Dec-11 1:55 
GeneralRe: Changing ForeColor Item in ListBox ... Pin
Wonde Tadesse2-Dec-11 17:05
professionalWonde Tadesse2-Dec-11 17:05 
AnswerRe: Changing ForeColor Item in ListBox ... Pin
Luc Pattyn2-Dec-11 4:06
sitebuilderLuc Pattyn2-Dec-11 4:06 
AnswerRe: Changing ForeColor Item in ListBox ... Pin
BobJanova2-Dec-11 5:46
BobJanova2-Dec-11 5:46 
QuestionWhat should be the Return Type? Pin
AmbiguousName1-Dec-11 23:40
AmbiguousName1-Dec-11 23:40 
AnswerRe: What should be the Return Type? Pin
BobJanova1-Dec-11 23:55
BobJanova1-Dec-11 23:55 
GeneralRe: What should be the Return Type? Pin
AmbiguousName2-Dec-11 0:22
AmbiguousName2-Dec-11 0:22 
AnswerRe: What should be the Return Type? Pin
Dan Mos2-Dec-11 0:54
Dan Mos2-Dec-11 0:54 
GeneralRe: What should be the Return Type? Pin
BobJanova2-Dec-11 5:44
BobJanova2-Dec-11 5:44 
AnswerRe: What should be the Return Type? Pin
Rob Philpott2-Dec-11 1:07
Rob Philpott2-Dec-11 1:07 
GeneralRe: What should be the Return Type? Pin
BobJanova2-Dec-11 5:45
BobJanova2-Dec-11 5:45 
GeneralRe: What should be the Return Type? Pin
Rob Philpott2-Dec-11 5:50
Rob Philpott2-Dec-11 5:50 
AnswerRe: What should be the Return Type? Pin
PIEBALDconsult2-Dec-11 2:08
mvePIEBALDconsult2-Dec-11 2:08 
GeneralRe: What should be the Return Type? Pin
Eddy Vluggen2-Dec-11 7:30
professionalEddy Vluggen2-Dec-11 7:30 
QuestionComponent Versioning and the CLR Pin
Richard Andrew x641-Dec-11 16:43
professionalRichard Andrew x641-Dec-11 16:43 
AnswerRe: Component Versioning and the CLR Pin
Not Active1-Dec-11 17:18
mentorNot Active1-Dec-11 17:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.