原始的代碼
if key = keyescape! then
close(this) // 遇到有子對象繼承時,esc就關閉了。而子對象任何引用this.xxx的代碼都報錯
elseif key = keyf1! then
xxxx
end if
改爲這樣,測試通過,搞定
if key = keyescape! then
post close(this)
elseif key = keyf1! then
xxxx
end if