求平面的鼠标XY值 在FORM中放StatusBar1控件.要在StatusBar1上即时显示鼠标的所在的X,Y值,鼠表移动到哪,StatusBar1上就即时变化X,Y坐标值,请指导,谢谢. 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 procedure TForm1.FormMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);begin xx:= x; yy:= y; StatusBar1.Panels[0].Text:= inttostr(xx*yy);end; procedure TForm1.FormMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);begin StatusBar1.Panels[0].Text:= inttostr(x)+' '+inttostr(y);end; 在form的onmousemove事件中添加如下语句StatusBar1.Panels[0].Text:=inttostr(x)+','+inttostr(y); GetCursorPos(pt);也可以的pt 是TPoint类型 怎么為COM+組件設定角色﹖ 加密狗问题请教。用过加密狗的朋友帮帮忙。 https(protocol)的用法 请问PDF的文件用什么软件查看的啊? Delphi 调用Excel的方法有那些!能多给几个吗??? 消息:凤凰卫视在正播"911惊回首"!!! delphi小疑问2 DELPHI 查询ACCESS数据库时间字段的问题 紧急!!!解决256的限制的方案!!! 我用wingate做代理服务器工作站该怎么设? TTabControl DBGridEh中PickList只读的问题
Y: Integer);
begin
xx:= x;
yy:= y;
StatusBar1.Panels[0].Text:= inttostr(xx*yy);
end;
Y: Integer);
begin
StatusBar1.Panels[0].Text:= inttostr(x)+' '+inttostr(y);
end;
pt 是TPoint类型