在MDI窗口里打開一個子窗口若關閉后再次打開出錯! |
答題得分者是:william
|
longjibo
一般會員 發表:18 回覆:18 積分:12 註冊:2002-11-08 發送簡訊給我 |
|
CJF
一般會員 發表:5 回覆:14 積分:8 註冊:2002-10-25 發送簡訊給我 |
|
william
版主 發表:66 回覆:2535 積分:3048 註冊:2002-07-11 發送簡訊給我 |
You should set frm02 to nil after freeing it, otherwise Assigned(frm02) will be True. So you should not relay on setting Action := caFree in the OnClose event of tfrm02. Maybe you can try to send a message from frm02 to the main form when it closes to tell the main form to set frm02 to nil?
|
william
版主 發表:66 回覆:2535 積分:3048 註冊:2002-07-11 發送簡訊給我 |
|
Miles
尊榮會員 發表:27 回覆:662 積分:622 註冊:2002-07-12 發送簡訊給我 |
|
longjibo
一般會員 發表:18 回覆:18 積分:12 註冊:2002-11-08 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |