O'Reilly logo

Expert Delphi by Paweł Głowacki

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Animations

No coding, just shapes. The next step is to recreate the animation of the rising sun in the new app, which is made of components only. The easiest way to add an animation is to use special animation components. On the Tool Palette, there is a separate category for Animations. There are different animation components for animating the values of different types over time. There is TFloatAnimation for changing float values, TColorAnimation for changing colors, and so on.

Instead of dropping an animation component on the form, we can create it directly from inside the Object Inspector. In our demo, we would like to change the Position.Y property of the circle component. Just expand this property in the Object Inspector and select ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required