Click here to Skip to main content
15,922,894 members
Home / Discussions / C#
   

C#

 
GeneralRe: Displaying the contents of a List<string[]> in a ListBox Pin
Douglas Kirk26-Jan-10 10:58
Douglas Kirk26-Jan-10 10:58 
GeneralRe: Displaying the contents of a List<string[]> in a ListBox Pin
DaveyM6926-Jan-10 11:23
professionalDaveyM6926-Jan-10 11:23 
AnswerRe: Displaying the contents of a List<string[]> in a ListBox Pin
sanforjackass26-Jan-10 10:37
sanforjackass26-Jan-10 10:37 
GeneralRe: Displaying the contents of a List<string[]> in a ListBox Pin
sanforjackass26-Jan-10 11:10
sanforjackass26-Jan-10 11:10 
AnswerRe: Displaying the contents of a List<string[]> in a ListBox Pin
Alex Manolescu26-Jan-10 11:13
Alex Manolescu26-Jan-10 11:13 
GeneralRe: Displaying the contents of a List<string[]> in a ListBox Pin
Douglas Kirk26-Jan-10 16:15
Douglas Kirk26-Jan-10 16:15 
GeneralRe: Displaying the contents of a List<string[]> in a ListBox Pin
Alex Manolescu26-Jan-10 22:33
Alex Manolescu26-Jan-10 22:33 
AnswerRe: Displaying the contents of a List<string[]> in a ListBox Pin
Luc Pattyn26-Jan-10 13:47
sitebuilderLuc Pattyn26-Jan-10 13:47 
I know of two ways to get a ListBox show tabular stuff as you would like it:

1.
use a non-proportional font, such as Courier New (for logs, numbers, etc that is what I do);

2.
make it OwnerDrawn, i.e. provide a DrawItem handler, where you do a Graphics.DrawString() for each of the "columns"; that is what I do when I want one or more columns to use proportional fonts, and/or want to include non-textual information such as icons.

Smile | :)

Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
[The QA section does it automatically now, I hope we soon get it on regular forums as well]


QuestionRegistry Permission Issues Pin
cc034926-Jan-10 8:55
cc034926-Jan-10 8:55 
AnswerRe: Registry Permission Issues Pin
DaveyM6926-Jan-10 9:34
professionalDaveyM6926-Jan-10 9:34 
GeneralRe: Registry Permission Issues Pin
cc034926-Jan-10 9:44
cc034926-Jan-10 9:44 
GeneralRe: Registry Permission Issues Pin
Dave Kreskowiak26-Jan-10 10:49
mveDave Kreskowiak26-Jan-10 10:49 
AnswerRe: Registry Permission Issues Pin
Ennis Ray Lynch, Jr.26-Jan-10 10:25
Ennis Ray Lynch, Jr.26-Jan-10 10:25 
QuestionBeginner C# homework project - stuck Pin
tinnpot26-Jan-10 8:06
tinnpot26-Jan-10 8:06 
AnswerRe: Beginner C# homework project - stuck Pin
harold aptroot26-Jan-10 8:17
harold aptroot26-Jan-10 8:17 
AnswerRe: Beginner C# homework project - stuck Pin
OriginalGriff26-Jan-10 8:20
mveOriginalGriff26-Jan-10 8:20 
GeneralRe: Beginner C# homework project - stuck Pin
tinnpot26-Jan-10 10:12
tinnpot26-Jan-10 10:12 
GeneralRe: Beginner C# homework project - stuck Pin
Ennis Ray Lynch, Jr.26-Jan-10 10:29
Ennis Ray Lynch, Jr.26-Jan-10 10:29 
GeneralRe: Beginner C# homework project - stuck Pin
Luc Pattyn26-Jan-10 13:51
sitebuilderLuc Pattyn26-Jan-10 13:51 
QuestionHow to display image in crystal report? Pin
mahdi136726-Jan-10 7:27
mahdi136726-Jan-10 7:27 
QuestionTroubles with a DPI Aware application Pin
Antonino Porcino26-Jan-10 6:50
Antonino Porcino26-Jan-10 6:50 
AnswerRe: Troubles with a DPI Aware application Pin
Ciumac Sergiu26-Jan-10 7:10
Ciumac Sergiu26-Jan-10 7:10 
QuestionBIZTALK questions: do not import duplicate data coming from csv file to sql server table Pin
challa_praveena26-Jan-10 6:46
challa_praveena26-Jan-10 6:46 
AnswerRe: BIZTALK questions: do not import duplicate data coming from csv file to sql server table Pin
PIEBALDconsult26-Jan-10 7:11
mvePIEBALDconsult26-Jan-10 7:11 
Questionsending output to a multiline text box. Pin
CodeRed300026-Jan-10 5:11
CodeRed300026-Jan-10 5:11 

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.