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.
我在 Delphi 5 中有一个固定行和固定列的 StringGrid。但在运行模式下,我无法选择任何行或任何单元格。
允许我使字符串行或单元格可选的属性是如何以及是什么。
您不能选择固定的行和列,这是预期的行为,因为这通常是不需要的。你有什么理由固定这些行和列吗?
在设计时查看 TStringGrid.Options 属性。这些年来这些变化不大,它们几乎都设置为 False。特别是:goEditing、goRowSelect。