XE7 移动平台 ShowModal 范例

时间:2014-09-24 13:56:38   收藏:0   阅读:178
procedure TForm1.Button1Click(Sender: TObject);
begin
     Form2 := TForm2.Create(Self);
     Form2.ShowModal(procedure(ModalResult : TModalResult)
                     begin
                          if ModalResult = mrOK then
                             // do something here
                     end);
end;

 

原文:http://www.cnblogs.com/onechen/p/3990395.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!