/**************************************************** 函数描述: 设置子窗体相对于父窗体显示于中间 函数参数: window_name: 子窗体 函数返回: 无 函数完成: woods 说 明: 在子窗体的open中调用gf_center(this) *****************************************************/ Integer iP_winwidth,iP_winheight Integer ix,iy
//使window_name窗口对中 ip_winwidth=window_name.parentwindow().width ip_winheight=window_name.parentwindow().height ix=(ip_winwidth - window_name.width)/2 iy=(ip_winheight - window_name.height)/2 window_name.move(ix,iy)