Hi all.
DEFINE WINDOW.....
@ 337,237 GIF oGif FILE ".test.gif" SIZE 145, 35 OF oWnd ADJUST
It`s gonna be working well.
DEFINE DIALOG...
@ 337,237 GIF oGif FILE ".test.gif" SIZE 145, 35 OF oWnd ADJUST
It will happened like these error.
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(273) in .\source\classes\DIALOG.PRG
Called from POSTER(656) in movie_net.prg
Called from (b)MAIN(348) in movie_net.prg
Called from TBTNBMP:CLICK(463) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:LBUTTONUP(658) in .\source\classes\BTNBMP.PRG
Called from TCONTROL:HANDLEEVENT(1489) in .\source\classes\CONTROL.PRG
Called from TBTNBMP:HANDLEEVENT(1450) in .\source\classes\BTNBMP.PRG
Called from _FWH(3394) in .\source\classes\WINDOW.PRG
Called from WINRUN(0)
Called from TWINDOW:ACTIVATE(978) in .\source\classes\WINDOW.PRG
Called from MAIN(371) in test_gif.prg
How to solve the problem ?
I have fwh. version 10.11 -- Gif error.
I have fwh. version 10.11 -- Gif error.
FWH User
FWPPC User
FWLinux User
FWPPC User
FWLinux User
Re: I have fwh. version 10.11 -- Gif error.
Have you tried with the init pattern?
then
is the dot at beginning of file name correct?
Code: Select all
method addGif(oWnd )
LOCAL oGif
@ 337,237 GIF oGif FILE ".test.gif" SIZE 145, 35 OF oWnd ADJUST
return nil
Code: Select all
DEFINE DIALOG...
ACTIVATE DIALOG ... ON INIT addGif(Self)
Re: I have fwh. version 10.11 -- Gif error.
Thank it`s working very well.
FWH User
FWPPC User
FWLinux User
FWPPC User
FWLinux User
Re: I have fwh. version 10.11 -- Gif error.
ACTIVATE DIALOG oWnd CENTERED ON INIT gif_load() VALID iif( GetKeyState( 27 ), .f., .t. )
FUNC gif_load()
local oGif
@ 868, 912 GIF oGif FILE ".\test.gif" SIZE 358, 75 OF oWnd ADJUST
RETU NIL
it`s working very well.
Thank you AntoninoP.
FUNC gif_load()
local oGif
@ 868, 912 GIF oGif FILE ".\test.gif" SIZE 358, 75 OF oWnd ADJUST
RETU NIL
it`s working very well.
Thank you AntoninoP.
FWH User
FWPPC User
FWLinux User
FWPPC User
FWLinux User