Ver Mensaje Individual
  #4  
Antiguo 29-01-2015
TomasChavezJ TomasChavezJ is offline
Registrado
NULL
 
Registrado: ene 2015
Posts: 3
Reputación: 0
TomasChavezJ Va por buen camino
Que tal esto me funciona
Código Delphi [-]
      MessageDlg('¿Desea eliminar el movimiento seleccionado?', System.UITypes.TMsgDlgType.mtconfirmation,
      [
        System.UITypes.TMsgDlgBtn.mbYes,
        System.UITypes.TMsgDlgBtn.mbNo
      ],0,
      // Metodo anonimo
      procedure(const AResult: TModalResult)
      begin
        case AResult of
          //Detecta cual boton fue pulsado
          mrYES:
               begin
               end;
          mrNo:
               BEGIN
               END;
        end;
      end
      );

Última edición por nlsgarcia fecha: 28-02-2015 a las 16:19:18. Razón: Sintaxis Delphi
Responder Con Cita