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.
如何在不使用 ctrl 键的情况下在 TadvStringGrid (tms) 上启用多行选择?我已经查看了 pdf 手册,但只有使用 ctrl 来启用此选项的建议。
我找到了完成工作的方法,只需要仔细阅读手册并考虑一下。我需要在设置 grid.MouseActions.DisjunctRowSelect 后保留一个包含先前选定单元格的列表,并使用网格函数 myGrid.SelectRows(myRow,1) 设置选择。