Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法隐藏 DBGrid 上的 Titles 行和 Indicator 列?我找不到任何此类财产。我可以以编程方式进行吗?
在 Object Inspector 中关闭(设置为 False)Options.dgTitlesand Options.dgIndicator,或者在代码中删除它们:
Options.dgTitles
Options.dgIndicator
DBGrid1.Options := DBGrid1.Options - [dgTitles, dgIndicator];