XE7 Android 中使用 MessageDlg 范例

时间:2014-09-05 12:45:11   收藏:0   阅读:260
  MessageDlg(Choose a button:, System.UITypes.TMsgDlgType.mtInformation,
    [
      System.UITypes.TMsgDlgBtn.mbYes,
      System.UITypes.TMsgDlgBtn.mbNo,
      System.UITypes.TMsgDlgBtn.mbCancel
    ], 0,
    procedure(const AResult: TModalResult)
    begin
      if AResult = mrYES then
         ShowMessage(You chose Yes) else
      if AResult = mrNo then
         ShowMessage(You chose No) else
      if AResult = mrCancel then
         ShowMessage(You chose Cancel);
    end);

 

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

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