Solved

Scroling a message

Posted on 1998-12-17
7
146 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: 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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Process Javascript errors with Delphi TWebBrowser 1 210
Delphi XE10 Round Image 2 193
Delphi Form ownership 4 127
Way to create an iPhone app for my customers 8 47
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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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