隨筆 - 6  文章 - 129  trackbacks - 0
          <2025年6月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

          常用鏈接

          留言簿(14)

          隨筆檔案(6)

          文章分類(467)

          文章檔案(423)

          相冊

          收藏夾(18)

          JAVA

          搜索

          •  

          積分與排名

          • 積分 - 827218
          • 排名 - 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 閱讀(1177) 評論(0)  編輯  收藏 所屬分類: powerBuilder
          主站蜘蛛池模板: 平南县| 黄平县| 莲花县| 驻马店市| 从江县| 罗江县| 隆尧县| 温泉县| 上饶市| 木兰县| 田林县| 科技| 时尚| 榆树市| 和顺县| 阿尔山市| 乌海市| 科技| 江城| 花莲县| 平利县| 宣恩县| 青田县| 鲜城| 阳山县| 辽源市| 蓬安县| 丰镇市| 西藏| 宜黄县| 乐都县| 张家界市| 磐安县| 个旧市| 津南区| 逊克县| 社旗县| 隆尧县| 通辽市| 河曲县| 盐山县|