需要n_cst_resize和n_cst_resizeattrib两个对象.
然后在窗口祖先中定义
instance var :n_cst_resize inv_resize
在resize事件中定义:
If IsValid (inv_resize) and This.windowstate <> minimized! Then
inv_resize.Event pfc_Resize (sizetype, This.WorkSpaceWidth(), This.WorkSpaceHeight())
inv_resize.post of_setPosize()
End If
然后在窗口的open中写代码: