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
Solved

Scroling a message

Posted on 1998-12-17
7
145 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Working with hours 3 65
tidtcpserver connection lost handle 2 103
Browsing a TTreeView in Delphi 5 8
Problem working with dynamic array - help 2 4
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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

837 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