多 多多帮助 Unregistered / Unconfirmed GUEST, unregistred user! 2009-08-22 #1 怎么做到这样?谢谢form2.ShowModal;showmessage('不执行这句')在form2中有个取消按纽点击后,不执行showmessage('不执行这句')
C CityWalker Unregistered / Unconfirmed GUEST, unregistred user! 2009-08-22 #2 procedure btnCanelOnClick(Sender: TObject);begin ModalResult := mrCancel;end;if form2.ShowModal <> mrCancel then showmessage('不执行这句');
procedure btnCanelOnClick(Sender: TObject);begin ModalResult := mrCancel;end;if form2.ShowModal <> mrCancel then showmessage('不执行这句');