Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

delphi xe2 stringgrid with comments

Can anyone recommend a good stringgrid like component for Delphi that handles comments on each cell similar to Microsoft Excel? I am searching the web but haven't found much yet and would appreciate input if someone here has used something similar

Updated with images: Cell 1A has a comment, as indicated by red triangle

cell with a comment

A mouseover reveals the comment on the cell

enter image description here

like image 525
Joe Avatar asked Jan 17 '12 22:01

Joe


1 Answers

You can use the existing TStringGrid component. Use its Objects property to store custom per-cell data, such as a comment String, and then you can use the THintWindow class to display that comment to the user when needed.

like image 193
Remy Lebeau Avatar answered Oct 01 '22 21:10

Remy Lebeau