1,076
社区成员
发帖
与我相关
我的任务
分享
environment lenv
long ll_scr_x,ll_scr_y
if GetEnvironment(lenv) = 1 then
ll_scr_x = (lenv.screenwidth - UnitsToPixels(w_1.width,XUnitsToPixels!))/2
ll_scr_y = (lenv.screenheight - UnitsToPixels(w_1.Height,YUnitsToPixels!))/2
w_1.move(ll_scr_x,ll_scr_y)
end if