Solved

Scroling a message

Posted on 1998-12-17
7
143 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Activex loadlibrary and show parented form issue 6 286
Simple Delphi Question 9 83
code issue 8 99
Delphi: Connect to running MS Outlook 4 48
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…
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

911 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

17 Experts available now in Live!

Get 1:1 Help Now