随笔 - 6  文章 - 129  trackbacks - 0
<2024年4月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

常用链接

留言簿(14)

随笔档案(6)

文章分类(467)

文章档案(423)

相册

收藏夹(18)

JAVA

搜索

  •  

积分与排名

  • 积分 - 815439
  • 排名 - 49

最新评论

阅读排行榜

评论排行榜

this.of_setresize(true)
inv_resize.of_Register(dw_2,inv_resize.SCALErightBOTTOM)   //SCALEbottom   SCALErightBOTTOM

//inv_resize.of_Register(dw_2,inv_resize.FIXEDRIGHTbottom)

在需要使用的窗口中定义一个实例
n_cst_resize inv_resize;
在open事件中注册窗口上的控件
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)
//参数:
1.控件对象
2.移动时的X坐标位移百分数
3.移动时的Y坐标位移百分数
4.移动时的WIDTH坐标位移百分数
5.移动时的HEIGHT坐标位移百分数

在resize事件中写入
inv_resize.Event wfc_Resize (sizetype, This.WorkSpaceWidth(), This.WorkSpaceHeight())
在需要使用的窗口中定义一个实例
n_cst_resize inv_resize;
在open事件中注册窗口上的控件
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)
//参数:
1.控件对象
2.移动时的X坐标位移百分数
3.移动时的Y坐标位移百分数
4.移动时的WIDTH坐标位移百分数
5.移动时的HEIGHT坐标位移百分数

在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)



posted on 2010-07-12 17:23 Ke 阅读(1143) 评论(0)  编辑  收藏 所属分类: powerBuilder

只有注册用户登录后才能发表评论。


网站导航: