6
votes

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

1
Maybe you can add a picture to make this clearer? I am not sure what "similar to excel" means here. - Warren P
+1 for adding a picture, that helps. - Warren P

1 Answers

6
votes

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.