Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

String Table?

Status
Not open for further replies.

Glenn9999

Programmer
Jun 19, 2004
2,312
US
I'm trying to figure out how to display a table of strings in a program. I'm aware of StringGrid, but it looks more like a spreadsheet, and I'm looking for something closer to the appearance of TMemo in display. Something like the update screen on Spybot would be great (minus the checkboxes and images, of course).

So any ideas on this one?
 
Try a TListView (Win32 palette). You want to set the ViewStyle to vsReport.

Every row has the first column as the Item's Caption property, and every other column is a SubItem of that Item. It can be a little tricky to get setup the first time, but it works well, and has a whole slew of useful events .
 
Also, don't forget that you can turn off the gridlines in a TStringGrid (Options property).

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top