Solved

Image animation in button

Posted on 1998-08-18
4
277 Views
Last Modified: 2010-04-04
Hello!!
i want to put a little animation in my button at the right
side.
0
Comment
Question by:vis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Accepted Solution

by:
Mariner080498 earned 50 total points
ID: 1337178
    First  you must use a "bitButon".
After this you must link a file with this button .
Becouse you want animatiion , I propose to use animated
 'gif ' files .


     Regards !




0
 
LVL 7

Expert Comment

by:Motaz
ID: 1337179
Hello Vis try this :

-first drop Image list then add to it for example 3 bitmpas.
-second drop bitbtn
-finally drop a timer then add this code to it's event handler :


procedure TForm1.Timer1Timer(Sender: TObject);
begin
 Count:=(Count mod 3)+1;
 BitBtn1.Glyph.FreeImage;
 BitBtn1.Glyph:=nil;
 ImageList1.GetBitMap(Count-1,BitBtn1.Glyph);
end;

Motaz..
0
 
LVL 7

Expert Comment

by:Motaz
ID: 1337180
Sorry I forget to check to the answer radio button so that my answer became as comment but it is answer. Vis which answer did you accept mine or Marinor's one ?.

Motaz
motaz1@yahoo.com
0
 
LVL 1

Expert Comment

by:skatan187
ID: 1337181
I know a unit to use animated gifs..
I am not planning to do it.. but I am sure that you can make
a new component wich can load animated glymps :)
get the source and the tgifimage component here:
http://www.dataweb.nl/~r.p.sterkenburg
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses
Course of the Month6 days, 13 hours left to enroll

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question