新建一個空白窗體(window)
入口參數None
事件內容
//獲取控件與窗口比例大小
int li_i
DragObject wnd
for li_i = upperBound(Control[]) to
wnd = control[li_i]
id_scaleX[li_i] = wnd
id_scaleY[li_i] = wnd
id_scaleWidth[li_i] = wnd
id_scaleHeight[li_i] = wnd
next
在resize事件裡寫入如下代碼
int li_i
DragObject w_object
if sizeType =
li_count = upperBound(id_scaleX[])
if li_count <
SetRedraw(false)
for li_i =
w_object = control[li_i]
w_object
w_object
w_object
w_object
next
SetRedraw(true)
最後在Open事件裡觸發Ue_getScale()事件就可以了
備注
編輯推薦
ASP
Microsoft
From:http://tw.wingwit.com/Article/program/PB/201311/24583.html