Valhalla Legends Archive

Programming => General Programming => .NET Platform => Topic started by: SweatyOgre on June 14, 2005, 02:50 PM

Title: Visual Basic .NET...making a table on a form?
Post by: SweatyOgre on June 14, 2005, 02:50 PM
Aside from using a listbox to display the data, is there any way to make a table on a form with Visual Basic? I can work with the listbox if i have to, but I just wish there were a way to bold text in a listbox. Unless there is some way and I just don't know it?
Title: Re: Visual Basic .NET...making a table on a form?
Post by: OnlyMeat on June 14, 2005, 04:15 PM
Quote from: SweatyOgre on June 14, 2005, 02:50 PM
Aside from using a listbox to display the data, is there any way to make a table on a form with Visual Basic? I can work with the listbox if i have to, but I just wish there were a way to bold text in a listbox. Unless there is some way and I just don't know it?

AFAIK, .net has a grid control which can be used to display table like data organized in rows/columns. Alternatively a listview control can display table like data as well.

I can't remember the exact properties of the listbox control, but there is probably some way of subclassing the behaviour if that property does not exist.
Title: Re: Visual Basic .NET...making a table on a form?
Post by: l)ragon on June 14, 2005, 07:20 PM
You could use the ListView control also since you can add numerus columns to it.