Einzelnen Beitrag anzeigen

lxo

Registriert seit: 30. Nov 2017
262 Beiträge
 
Delphi 12 Athens
 
#149

AW: Delphi 11.3 schon da?

  Alt 6. Mär 2023, 07:30
Ist euch aufgefallen, dass das Icon im MessageDlg für mtConfirmation vom blauen Fragezeichen auf das Warnungssymbol geändert wurde?
Weiß jemand von euch mit welcher Begründung sowas gemacht wurde?

Delphi-Quellcode:
 
unit Vcl.Dialogs
  
 
  // Delphi 11.2
  function GetMsgIconResourceName: String;
  begin
    Result := '';
    case DlgType of
      mtWarning:
        Result := 'MSG_WARNING';
      mtError:
        Result := 'MSG_ERROR';
      mtInformation,
      mtConfirmation:
        Result := 'MSG_INFO';
    end;
  end;


  // Delphi 11.3
  function GetMsgIconResourceName: String;
  begin
    Result := '';
    case DlgType of
      mtWarning,
      mtConfirmation:
        Result := 'MSG_WARNING';
      mtError:
        Result := 'MSG_ERROR';
      mtInformation:
        Result := 'MSG_INFO';
    end;
  end;
  Mit Zitat antworten Zitat