this.of_setresize(true)
inv_resize.of_Register(dw_2,inv_resize.SCALErightBOTTOM)
//SCALEbottom SCALErightBOTTOM
//inv_resize.of_Register(dw_2,inv_resize.FIXEDRIGHTbottom)
在需要使用的窗口中定義一個(gè)實(shí)例
n_cst_resize inv_resize;
在open事件中注冊(cè)窗口上的控件
inv_resize = create nvo_resize
inv_resize.of_SetOrigSize (this.WorkSpaceWidth(),
this.WorkSpaceHeight())
inv_resize.of_Register(dw_list, 0, 0, 0, 100)
inv_resize.of_Register(st_hsplitbar, 0, 0, 0, 0)
inv_resize.of_Register(dw_main, 0, 0, 100,0)
inv_resize.of_Register(st_vsplitbar, 0, 0, 0, 0)
inv_resize.of_Register(dw_preview, 0, 0, 100, 100)
//參數(shù):
1.控件對(duì)象
2.移動(dòng)時(shí)的X坐標(biāo)位移百分?jǐn)?shù)
3.移動(dòng)時(shí)的Y坐標(biāo)位移百分?jǐn)?shù)
4.移動(dòng)時(shí)的WIDTH坐標(biāo)位移百分?jǐn)?shù)
5.移動(dòng)時(shí)的HEIGHT坐標(biāo)位移百分?jǐn)?shù)
在resize事件中寫入
inv_resize.Event wfc_Resize (sizetype, This.WorkSpaceWidth(),
This.WorkSpaceHeight())
在需要使用的窗口中定義一個(gè)實(shí)例
n_cst_resize inv_resize;
在open事件中注冊(cè)窗口上的控件
inv_resize = create nvo_resize
inv_resize.of_SetOrigSize (this.WorkSpaceWidth(),
this.WorkSpaceHeight())
inv_resize.of_Register(dw_list, 0, 0, 0, 100)
inv_resize.of_Register(st_hsplitbar, 0, 0, 0, 0)
inv_resize.of_Register(dw_main, 0, 0, 100,0)
inv_resize.of_Register(st_vsplitbar, 0, 0, 0, 0)
inv_resize.of_Register(dw_preview, 0, 0, 100, 100)
//參數(shù):
1.控件對(duì)象
2.移動(dòng)時(shí)的X坐標(biāo)位移百分?jǐn)?shù)
3.移動(dòng)時(shí)的Y坐標(biāo)位移百分?jǐn)?shù)
4.移動(dòng)時(shí)的WIDTH坐標(biāo)位移百分?jǐn)?shù)
5.移動(dòng)時(shí)的HEIGHT坐標(biāo)位移百分?jǐn)?shù)
在resize事件中寫入
inv_resize.Event pfc_Resize (sizetype, This.WorkSpaceWidth(),
This.WorkSpaceHeight())
// Register the controls with the SplitBar
st_v1.of_Register(dw_1, st_v1.left)
st_v1.of_Register(lv_1, st_v1.right)