帮我看一下这个判断语句!! if (px,py) in [(173,88),(224,141)] then label1.Caption:=label1.Caption+'1';//(px,py)为一座标值 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 这样做是不行的,in 用来判断元素是否在集合中,还是老老实实的写代码吧。if ((px = 173) and (py = 88)) or ((px = 224) and (py = 141)) then Label1.Caption := Label1.Caption + 'l'; if (px in [173, 224]) and (py in [88, 141]) then //.... if ((px >= 173) and (px <= 224) and (py >= 88) and (py <= 141)) then Label1.Caption := Label1.Caption + 'l'; 编程时用鼠标拖放VCL控制时画面会变花屏是怎么回事? Delphi fastreport 如何控制打印指定页数? 怎么把多张图片转换成视频文件 怎么点左键弹出右键菜单? ActiveForm怎样获取当前运行的网址和域名?急急!~~ 请各位说说你们的想法????(两天内来者有分) 请问如何使TSaveDialog组件能自动给用户指定的文件名后加扩展名? 为什么在keydown事件中,chr(key)总返回大写字母? 关于'的问题!!! 高分求救: delphi7.0中如何使用Rava报表 怎么判断鼠标所在区域的函数?
if ((px = 173) and (py = 88)) or ((px = 224) and (py = 141)) then
Label1.Caption := Label1.Caption + 'l';
Label1.Caption := Label1.Caption + 'l';