在 Delphi 中,如何强制 tListView 始终显示选定的行,即使没有聚焦时也是如此。
tListView 的选定行显示为蓝色,但仅当控件具有焦点时才显示。我希望始终显示所选行,无论控件是否具有焦点。
The selected row of a tListView appears blue, but only when the control has focus. I'd like the selected row to always be displayed, whether the control has focus or not.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将
HideSelection
属性设置为False
。Set the
HideSelection
property toFalse
.