樹選擇控制函數(shù)_第1頁
樹選擇控制函數(shù)_第2頁
全文預(yù)覽已結(jié)束

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、函數(shù):w_groups_edit.Properties描述參數(shù)long返回調(diào)用事件作者: 日期201202函數(shù):w_groups_edit.Properties描述參數(shù)long返回調(diào)用事件作者: 日期20120227Copyright(c)2007-2008s./ 修改歷史longlong/IFnotthen/IFhandle2if( 中ctureIndex=)/當(dāng)前item 的ctureIndex2表示被選中,1未parent_handle/ IF tvi_parent.level 1 and ctureIndex 2 ctureIndex=this.SetItem(parent_handl

2、e,tvi_parent)END IFKeyDown(KeyControl!)/Ctrlclicked parent_handle=IF parent_handle -1 THEN this.GetItem(parent_handle,tvi_parent)ctureIndex=END IFKeyDown(KeyControl!)/Ctrlclicked parent_handle=IF parent_handle -1 THEN this.GetItem(parent_handle,tvi_parent)ctureIndex=this.SetItem(parent_handle,tvi_pa

3、rent) brother_handle = parent_handledowhile(brother_handle-brother_handle=this.FindItem(NextTreeItem!,brother_handle) this.GetItem(brother_handle, tvi_brother)if (ctureIndex = thencontinue /itemctureIndex= END END ctureIndex=IFKeyDown(KeyControl!)/Ctrlclicked parent_handle=IF parent_handle -1 THEN t

4、his.GetItem(parent_handle,tvi_parent)ctureIndex=this.SetItem(parent_handle,tvi_parent) brother_handle = parent_handledowhile(brother_handle-brother_handle=this.FindItem(NextTreeItem!,brother_handle) this.GetItem(brother_handle, tvi_brother)if (ctureIndex = thencontinue /itemctureIndex= END END /10.2

5、3加,item是最后一個的時候,item也取消 parent_handle = this.FindItem(ParentTreeItem!,handle) this.GetItem(parent_handle, tvi_parent)/handlei=handle - CHOOSECASE/10.23加,item是最后一個的時候,item也取消 parent_handle = this.FindItem(ParentTreeItem!,handle) this.GetItem(parent_handle, tvi_parent)/handlei=handle - CHOOSECASE(hand

6、le-case brother_handle=brother_handle=this.FindItem(NextTreeItem!,brother_handle) do while (brother_handle -1) if ctureIndex = then /itembrother_handle= ctureIndex=this.SetItem(parent_handle,tvi_parent) case is 1 /item的第一個子項,找do while (brother_handle -1) if ctureIndex = 2) then /item中的,do while (brother_handle -1) if

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論