[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Scroling a message

Posted on 1998-12-17
7
Medium Priority
?
154 Views
Last Modified: 2010-08-05
I am having problems creating a horizontal and vertical scrolls.Can somebody help me?
0
Comment
Question by:dimot120498
7 Comments
 
LVL 12

Expert Comment

by:rwilson032697
ID: 1351628
What problems are you having?
0
 

Author Comment

by:dimot120498
ID: 1351629
I want to scroll  a message horisontaly or verticaly on the canvas on a form.
Can you tell me how to do it?
0
 
LVL 1

Expert Comment

by:Oli2
ID: 1351630
define a little bit more: what are you trying to do?
scroll a Label?
Maybe some source would explain your probs...
0
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!

 
LVL 3

Expert Comment

by:philipleighs
ID: 1351631
Maybe this is sort of what you mean?

Put a scroll bar on a form, in the OnScroll or OnChange (can't remember right now) event, type:

Canvas.TextOut(ScrollBar1.Position, 20, 'Some text to scroll');

This is not a particularly good way of scrolling text, it is just meant to help us understand what you're after.
0
 

Author Comment

by:dimot120498
ID: 1351632
I have a text file (e.g. readme.txt) and I want to scroll it's contents on a form.
By scrolling I mean moving a text from the right to tthe left side of the form.
0
 

Accepted Solution

by:
teechong earned 0 total points
ID: 1351633
Do you want to see the scrollbars?
If yes, you could drop a TMemo into a TScrollBox. If you make the scrollbox narrower then the memo, you get a horizontal scrollbar automatically. If you make the scrollbox shorter than the memo, you get a vertical scrollbar automatically.

If no, get the TBanner component from Delphi Super Page. This even scrolls it at a customizable speed. (I can email the component if you can't find it)

TC
0
 

Author Comment

by:dimot120498
ID: 1351634
Hey TC !
Send me that comopnent,I hope it'll do the job
My e-mail is dimo_1_penny@hotmail.com
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

834 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