delphi xe2 stringgrid with comments
-
17-04-2021 - |
Question
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
A mouseover reveals the comment on the cell
Solution
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow