Tgif

Post Reply
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Tgif

Post by Otto »

Hello Antonio,

I would like to have a animated gif during the program is executing a task.
I tried the following. I see the gif but not animated.
Do I have to pass a oTGif:start() ?.

Thanks in advance
Otto

DEFINE BUTTON RESOURCE "Printer" OF oBar GROUP ;
MESSAGE TXT_PRINT_CURRENT_PAGE ;
ACTION IIF(MsgYesNo ("R e c h n u n g abschließen?"),;
( TGif():New( oWnd, ".\gifs\halo.gif", 200, 200 ),;
oBtnExit:hide(),;
oRechnung:Save(),;
PrintPage(cArt:="Rechnung",oRechnung),;
oZahlung := TZahlung():New(oRechnung),;
oZahlung:offen() ,;
oZahlung:end() ,;
oRechnung:CheckOut(cArt) ,;
oDlgRg:End(),;
oWndRGx:SetFocus(),;
oWnd:End()), ) ;
prompt "Rechnung" TOOLTIP StrTran( TXT_PRINT, "&", "" )


Image
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Otto,

The gif should start animating automatically.

Please test fwh\samples\TestGif.prg
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
fraxzi
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines
Contact:

Post by fraxzi »

Mr. Antonio,

I need to mouse click the gif to make it start running...



regards,
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
anserkk
Posts: 1280
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Tgif

Post by anserkk »

Mr. Antonio,
I need to mouse click the gif to make it start running...
1) Is it possible to start the GIF animation automatically without the need to click on the window/dialog
2) Do TGIF support transparency of Animated GIF's

Regards

Anser
User avatar
anserkk
Posts: 1280
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Tgif

Post by anserkk »

Hi,

My application is getting struck and halted when I tried to test an Animated GIF with Transparency.

Image


In \fwh\samples\TestGif.prg, I changed only the Gif filename and path. I understand that Tranparency in Animated GIF is not yet supported in FWH

Regards

Anser
Post Reply