FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Tgif
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Tgif
Posted: Mon Jun 16, 2008 03:31 PM
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, "&", "" )


Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Tgif
Posted: Sat Jun 21, 2008 10:54 AM

Otto,

The gif should start animating automatically.

Please test fwh\samples\TestGif.prg

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Tgif
Posted: Sat Jun 21, 2008 02:09 PM

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
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Tgif
Posted: Mon May 11, 2009 05:51 AM
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
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Tgif
Posted: Mon May 11, 2009 09:22 AM
Hi,

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




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

Continue the discussion