呵呵,return就是返回什么也不做的意思
我在selectionchanged事件下面这样写:
if this.finditem(ChildTreeItem!,oldhandle) = -1 then return
还是
if this.finditem(ChildTreeItem!,newhandle) = -1 then return
好像都不行
在itempopulate事件下面这样写:
if this.finditem(ChildTreeItem!,handle) = -1 then return
也是不起作用。
上面的handle,oldhandle,newhandle都是相对应的事件下面的自带的参数