El error lo que dice es:
Cita:
[DCC Error] Unit1.pas(160): E2250 There is no overloaded version of 'MessageDlg' that can be called with these arguments
|
No se como corregirlo.
Esta es una parte de mi codigo:
Código Delphi
[-]
i := messagedlg('¿Quiere borrar el pedido?',mtWarning, mbokcancel,0);
if (i = mrok) then
ShowMessage('Se ha borrado el pedido.');
Me mantiene constantemente subrayado de error el "mtWarning" dentro del codigo y no corre.