--> Running Text in Borland Delphi 7 (Go Along To The Left) | Delphi Tips Trick

For Newbie

Wednesday 7 September 2011

Running Text in Borland Delphi 7 (Go Along To The Left)

| Wednesday 7 September 2011
Basically, animation in software application that is made by someone will be able to add trust value by the user. In this writing will discuss about making animation in the form of running text in Delphi Form. Text that will become animation is text in “label” component. Basically, text is not moving but the label component is. So that will get an effect which give impression that the label component is moving in row with the movement of the component. This Application will create a label Go Along To The Left from the right Form design

Insert the following Component to the Borland Delphi 7 Form Design

No Component Name Properties Value
1 Label1 Caption www.ItsToShare.Com
2 Timer1 - -

This is the design form of the Running Text In Borland Delphi 7 (Go Along To The Left) Application

Picture 1. Running text visualization design in Delphi.

Insert the following Source  to Code the Borland Delphi 7 Form Design


No Component Name Event Source Code
Timer1 OnTimer Label1.Left:=Label1.left-10;
if (Label1.left+Label1.width) <= 0 then
Label1.left:=Form1.Width-(label1.Width+10);

The following is the screenshot picture.



 I hope this article can give benefit to the visitors, readers, developer and me. Thanks for visiting and availability for sharing this article by pressing 
Share this on Facebook
or just press like button under this posting

Related Posts