1,109
社区成员
发帖
与我相关
我的任务
分享long i
RadioButton lrb
for i = 1 to upperbound(this.control)
if this.control[i].typeof() = RadioButton! then //单选框
lrb = this.control[i]
if lrb.x >= gb_1.x and lrb.y >= gb_1.y and lrb.x <= gb_1.x + gb_1.width and lrb.y <= gb_1.y + gb_1.height then //在gb_1内
//lrb.checked 判断是否选择,然后做你想做的
end if
end if
next