--> Running Text In Borland Delphi 7 (From Under the Form To The Upper) | Delphi Tips Trick

For Newbie

Friday, 9 September 2011

Running Text In Borland Delphi 7 (From Under the Form To The Upper)

| Friday, 9 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 move Upper The Form design from from under page of the form design
Insert the following Component to the Borland Delphi 7 Form Design


No
Component Name Properties Value
Label1 Caption www.ItsToShare.Com
Timer1 - -
This is the design form of the Running Text In Borland Delphi 7 (To The Upper) Application




Picture 1. Running text visualization design in Delphi.
Insert the following Source  Code to the Borland Delphi 7 Form Design

No Component Name Event Source Code
Timer1 OnTimer Label1.top:=Label1.TOP-10;
if (Label1.TOP+Label1.Height) <= 0 then
Label1.TOP:=Form1.Height-(label1.Height+50);

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