How?
Thanks in advance.
How?
Thanks in advance.
I try this but the gif do not animate if i use NOWAIT in dialog
DEFINE DIALOG oAnima RESOURCE "GIFPROC" Title "Aguarde, inutilizando numeração..."
ACTIVATE DIALOG oAnima ON INIT BuildGif( oAnima ) NOWAIT CENTERED
....
Static function BuildGif( oAnima )
TGif():New( oAnima, "Processando.gif", 1, 1 )
return .t.
Thanks.


Great Job ukoenig, do you know how I can fix the problem? I want to create a dialog with a animated gif like "processing" but if I use nowait the gif dont work.
Thanks.

Thanks but not work for me, after a dialog i need to call this dll function and the gift stay static.
cStat = o:InutilizaNroCT(siglaWS, siglaUF, tipoAmbiente, nome,;
versao, @msgDados, @msgRetWS, @msgResultado, @procInut,;
cUF, Ano, CNPJ, modelo, serie, nroCTeInicial,;
nroCTeFinal, justificativa, proxy, usuario, senha, licenca)
I think the reason will be,
the dialog doesn't have the focus anymore.
The Gif belongs to the dialog. The animated Gif will stop.
I will add a button to the sample calling another action, to test it.
Best regards
Uwe ![]()
ukoenig wrote:I think the reason will be,
the dialog doesn't have the focus anymore.
The Gif belongs to the dialog. The animated Gif will stop.
Best regards
Uwe


ukoenig wrote:I added a Alert and the Gif is still running
opening another dialog the Gif in dialog 1 is still running.
Best Regards
Uwe