// ****************使窗口居中**********************//
integer ii_ScreenH,ii_ScreenW
environment le_environment
GetEnvironment(le_environment)
ii_ScreenH = PixelsToUnits(le_Environment.ScreenHeight, YPixelsToUnits!)
ii_ScreenW = PixelsToUnits(le_Environment.ScreenWidth, XPixelsToUnits!)
this.Move((ii_screenw - this.width)/2,(ii_screenh - this.height * 2)/2)
//***********************************************//
posted on 2010-06-10 10:25
Ke 阅读(580)
评论(0) 编辑 收藏