当前位置:主页>仓库管理软件> 列表

小问题,请大家指教,谢了 找仓库管理软件破解版

进销存软件版1楼: 怎么判断当前鼠标是否移入或移出了(控件)Panel
谢谢!!!!!!!!

2楼: 没人吗,顶一下 如仓库管理软件破解版

3楼: 有个事件啊 onmousemove

4楼: 就是不知怎么判断

5楼: onenter 和 onexit

6楼: 我是说移动啊

进销存软件版7楼: panel里面只有onmousedown,onmouseup,onmousemove事件

8楼: 知道呀
老大们,给写下代码吧,谢谢

9楼: onmousemove的代码里面

if not bIn then
begin
ShowMessage(''in'');
bIn := True;
end else
begin
if (X <= 0) or (X >= Panel1.Width) or (Y <=0) or (Y >= Panel1.Height) then
begin
bIn := False;
ShowMessage(''out'');
end;
end;

10楼: 不好用啊,只能out

11楼: 接受答案了.