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

          常用鏈接

          留言簿(14)

          隨筆檔案(6)

          文章分類(467)

          文章檔案(423)

          相冊(cè)

          收藏夾(18)

          JAVA

          搜索

          •  

          積分與排名

          • 積分 - 827240
          • 排名 - 49

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          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)



          posted on 2010-07-12 17:23 Ke 閱讀(1177) 評(píng)論(0)  編輯  收藏 所屬分類: powerBuilder
          主站蜘蛛池模板: 白银市| 云阳县| 响水县| 顺义区| 南陵县| 杭锦旗| 改则县| 马鞍山市| 五指山市| 辽中县| 曲麻莱县| 焦作市| 香格里拉县| 句容市| 雅江县| 波密县| 正宁县| 永济市| 饶河县| 临猗县| 冀州市| 贡山| 陈巴尔虎旗| 商城县| 巴楚县| 大冶市| 金门县| 罗城| 玉溪市| 济源市| 宣武区| 高密市| 棋牌| 虞城县| 平乡县| 海门市| 台中市| 福建省| 临邑县| 永年县| 远安县|