Lazarus
Programming => LCL => Topic started by: anna on October 07, 2011, 06:22:54 am
-
Trying to install Wile64 ( http://wiki.lazarus.freepascal.org/Wile64 ) on Lazarus-0.9.31-32070-fpc-2.4.4-20110828-win32.exe , I get error in line:
class function GetControlClassDefaultSize: TPoint; override;
There is no method in an ancestor class to be overridden
I rewrite line as
class function GetControlClassDefaultSize: TPoint; {override;}
But component icon does not appear in all inlays.
-
Is there in Lazarus TAnimate? Or how to show animated gifs other way? Without hours-long error correction.
Eh?
-
Almost always packages (not only Wile64, but all ones) have some errors , which makes installation impossible.
Developers, please fix this bizzarre situation with packages.
-
Is there in Lazarus TAnimate? Or how to show animated gifs other way? Without hours-long error correction.
Eh?
Other than Wile64 one, I ever saw one post (and a link) to a unit implementing it, but I don't quite remember which one. Please use the forum's search function.
Almost always packages (not only Wile64, but all ones) have some errors , which makes installation impossible.
Developers, please fix this bizzarre situation with packages.
For 3rd party packages, please contact the respective authors. For Lazarus shipped ones, file a bugreport in the bugtracker with required information (what the bug is about, how to reproduce, compiler & ide version, platforms, etc.).
-
I'd request the money back that you paid for it. You can always pay for e.g. Delphi and commercial components, and raise support issues with your suppliers if the components don't work...
It also might help if you bring up issues in a more positive way...
-
I'd request the money back that you paid for it. You can always pay for e.g. Delphi and commercial components, and raise support issues with your suppliers if the components don't work...
It also might help if you bring up issues in a more positive way...
Yes but, package was published on lazarus wiki. So I thought it works... (http://www.lazarus.freepascal.org/Smileys/ExcellentSmileys1/sad.gif)
-
To amimate image I now use 1000 images , and make in each moment one image visible, and imvisible another ones. I'm using processmessages, timers. But I think , it is not very elegant way. My attempts to make some animations it's like clumsy work.
-
Is there in Lazarus TAnimate? Or how to show animated gifs other way? Without hours-long error correction.
Eh?
Other than Wile64 one, I ever saw one post (and a link) to a unit implementing it, but I don't quite remember which one. Please use the forum's search function.
Tryed this : http://netcologne.dl.sourceforge.net/project/bgracontrols/bgracontrols-1.1.0.7.zip
And also does not work:
http://img163.imageshack.us/img163/2500/75481545.png
Ah...
-
Wile64 work on Lazarus 0.9.28, but the autor no update for Lazarus 0.9.30. I do some changes for work in 0.9.30.
You can download y test from here.
http://www.megaupload.com/?d=W8T9ZN92
**
These were the problems in Lazarus 0.9.30.
1) Class TGIFImage repeated in lcl/graphics.pp
2) The package Gifanim show error "no valid output directory", there are missing this line in pkg_gifanim.lpk
Value="lib/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)"/> <UnitOutputDirectory
3) The other problem is controls.pp
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/controls.pp?root=lazarus&r1=25190&r2=25204
TSize use instead of TPoint
Gifanim uses TPoint, so I change everything to TSize.
Regards
-
Wile64 work on Lazarus 0.9.28, but the autor no update for Lazarus 0.9.30. I do some changes for work in 0.9.30.
You can download y test from here.
http://www.megaupload.com/?d=W8T9ZN92
**
These were the problems in Lazarus 0.9.30.
1) Class TGIFImage repeated in lcl/graphics.pp
2) The package Gifanim show error "no valid output directory", there are missing this line in pkg_gifanim.lpk
Value="lib/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)"/> <UnitOutputDirectory
3) The other problem is controls.pp
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/controls.pp?root=lazarus&r1=25190&r2=25204
TSize use instead of TPoint
Gifanim uses TPoint, so I change everything to TSize.
Regards
Thanks, your package installed fine. I was surprised thet gif-file must exist somewhere on local drive. Is there way to mount gif inside executable file's resources?
How to protect gifs from user deletion while application is running?
-
Thanks, your package installed fine.
You can see the gif images with lazarus 0.9.31 ? (In some version of 0.9.31 not work)
Is there way to mount gif inside executable file's resources?
Check this
http://wiki.lazarus.freepascal.org/Lazarus_Resources
Regards
-
Thanks, your package installed fine.
You can see the gif images with lazarus 0.9.31 ? (In some version of 0.9.31 not work)
yup.
http://www.youtube.com/watch?v=KPEaSXhcMqM
-
Good :)
-
Good :)
To use gif-image from resources, I must extract file first. So user can delete file easily. So how to hide gif-image? Why doesn't developer put gif-image into component properties?
-
I've found much better project : http://consume.o2switch.net/lazarus/testgif.zip
It doesn't need third party components and runs smoothly.
-
To use gif-image from resources, I must extract file first. So user can delete file easily. So how to hide gif-image? Why doesn't developer put gif-image into component properties?
Instead of keeping nagging about it, why don't you just make it work like you want, so you actually contribute to the project?
We can help if you run into troubles then.
Bart