简体   繁体   English

带注释的delphi xe2 stringgrid

[英]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? 任何人都可以为Delphi推荐一个好的stringgrid组件来处理类似于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 更新为图像:单元格1A有注释,如红色三角形所示

细胞评论

A mouseover reveals the comment on the cell 鼠标悬停显示对单元格的评论

在此输入图像描述

You can use the existing TStringGrid component. 您可以使用现有的TStringGrid组件。 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. 使用其Objects属性存储自定义的每单元格数据(例如注释String ,然后您可以使用THintWindow类在需要时向用户显示该注释。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM