Jump to content

dev botao

  • Este tópico foi criado há 3682 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

  • Membros Pro
Posted

Olá pessoal, 

Implementei o evento QuandoCancelarDocumento  do componente TACBrECFVirtualNFCe, dessa maneira:

procedure TFPDV.DoQuandoCancelarDocumento(Justificativa: String);
begin
  Justificativa := JustCancNFCeDao.FindDescJustCancNFCePadrao;
end;     

E percebi que a Justificativa não estava mudando, então mudei a assinatura do Método para:

TACBrECFVirtualNFCeQuandoCancelarDocumento = procedure(out Justificativa : String) of object;

Acrescentei o out na assinatura, e funcionou, talvez esteja se perdendo em passar a referência da String entre os Métodos.

 

Poderiam acrescentar essa pequena alteração no SVN?

 

[]'s

  • Este tópico foi criado há 3682 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

The popup will be closed in 10 seconds...