Solved

Scroling a message

Posted on 1998-12-17
7
142 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
Comment Utility
What problems are you having?
0
 

Author Comment

by:dimot120498
Comment Utility
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
Comment Utility
define a little bit more: what are you trying to do?
scroll a Label?
Maybe some source would explain your probs...
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 3

Expert Comment

by:philipleighs
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This video discusses moving either the default database or any database to a new volume.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now