![]() |
|
10.2.3 MessageDialog - Baskı Önizleme +- Delphi Can (https://www.delphican.com) +-- Forum: Delphi (https://www.delphican.com/forumdisplay.php?fid=3) +--- Forum: Mobil Platform - FireMonkey (FMX) (https://www.delphican.com/forumdisplay.php?fid=7) +--- Konu Başlığı: 10.2.3 MessageDialog (/showthread.php?tid=2155) |
10.2.3 MessageDialog - elixir84 - 16-04-2018 Merhaba, Delphi 10.2.3 den Önce "Kaydedildi" Mesajından sonra "Basım Yapılsın mı?" diye soruyordu. Şimdi tüm mesajları aynı anda veriyor. Aynı Şekilde yine eskiden mesajdaki tamam evet hayır butonuna basmadan geçmiyordu şimdi ekranın herhangi bir yerine dokununca mesaj kayboluyor. function Tana.MsgDlg(Mesaj: String; AButtons: TMsgDlgButtons; ACloseDialogProc: TInputCloseDialogProc): TModalResult; var SResult: TModalResult; begin TDialogService.MessageDialog(mesaj, System.UITypes.TMsgDlgType.mtInformation,AButtons,System.UITypes.TMsgDlgBtn.mbYes, 0, procedure(const AResult: TModalResult) begin ACloseDialogProc(AResult); SResult := AResult; end ); Result := SResult; end; MsgDlg('F000000000015 nolu Fiş Kaydedildi.', [TMsgDlgBtn.mbOk],
procedure (const AResult: TModalResult)
begin
if AResult = mrOk then
begin
end;
end);
MsgDlg('Basım Yapmak İstermisiniz?', [TMsgDlgBtn.mbYes, TMsgDlgBtn.mbNo],
procedure (const AResult: TModalResult)
begin
if AResult = mrYes then
begin
basimyap(fisno);
end;
end);
Link Buda eskiden çalışıyordu şimdi çalışmıyor. Cvp: 10.2.3 MessageDialog - Fesih ARSLAN - 16-04-2018 Merhaba, Android platformunun native dialog pencereleri ShowModal değildir. Bunu anlamak için telefonunun sistem ayarlarında herhangi bir mesaj penceresini tetikleyin ve bu durumu test edin. ShowModal dialog penceresi için özel bir tasarım yapmanız gerekiyor. |