阿 阿亮 Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-30 #3 var a: Thandle; begin a := Windows.GetSystemMenu(Handle, False); Windows.DeleteMenu(a, sc_close, mf_bycommand);
var a: Thandle; begin a := Windows.GetSystemMenu(Handle, False); Windows.DeleteMenu(a, sc_close, mf_bycommand);
R rockjie Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-30 #4 FormCloseQuery事件里面把canclose设成false就可以了
D desertsmoke Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-30 #5 to rockjie: 谁的cancel参数?在哪里?谢谢
D desertsmoke Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-30 #6 to rockjie: 这样不直观,最好变灰