pbkiller在生成careate和destroy时,
正常时应该为:
on w_test111.create
int iCurrent
call super::create
this.dw_2=create dw_2
iCurrent=UpperBound(this.Control)
this.Control[iCurrent+1]=this.dw_2
end on
pbkiler导出是:
on w_test111.create
call super::create; //它模仿了其他的继承事件的写法。其他事件如果勾选:Extend Ancestor Script时有call super::eventname。如果取消打钩则消失。
int iCurrent
this.dw_2=create dw_2
iCurrent=UpperBound(this.Control)
this.Control[iCurrent+1]=this.dw_2
end on
但在create和destroy中是直接的使用call super而非代码扩展。意思就是祖先的代码必须执行。所以我们可以看到是直接调用的。