Delphi 获取ListView1鼠标所在位置的行名称


本文整理自网络,侵删。

 
procedure TForm1.ListView1MouseMove(Sender: TObject; Shift: TShiftState; X,
  Y: Integer);
var
  tmp:tlISTITEM;
begin
  TMP:=ListView1.GetItemAt(x,y);
  if tmp<>nil then

  StatusBar1.Panels[0].Text:=TMP.Caption;

end;

相关阅读 >>

Delphi使用idhttp.get('') 造成假死(堵塞),请问线程idhttp怎么才能做到不出错?

Delphi 常用api 函数

Delphi tidhttpserver开发http服务端外网无法访问

Delphi串口通信编程

Delphi tscrollbar 用于滚动窗口、组件内容

Delphi设置dbgrid每列自动居中

Delphi2010中使用pchar时e2010 incompatible types: 'char' and 'ansichar' 错误的处理

Delphi 检查父进程

Delphi andorid应用程序检查wifi有效还是无效

Delphi 检测一个网络连接是否有效带超时

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...