Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Bernard Bout
  Where is Bernard Bout?
 Brisbane
 Australia
 Bernard Bout
 To: Danson Danson
  Where is Danson Danson?
 Nairobi
 Kenya
 Danson Danson
 Tags
Subject: RE: Scrolling text
Thread ID: 233439 Message ID: 233479 # Views: 60 # Ratings: 1
Version: Visual FoxPro 9 SP2 Category: Forms
Date: Friday, July 03, 2009 1:58:26 AM         
   


> Hi all,
> Can any one give me a code that will create scrolling text on a form
>
> Thanks

Jambo

You need to give some more info.

Scrolling vertically or horizontally? Will the code be repeated or will it be like a Ticker tape with a continuous stream of text? Will anything else be happening on the form?

Here is a form that does nothing else but scroll text like a ticker tape without using any timers. Should give you some ideas. You can change the speed by changing the value in the Sleep call.

Check out the properties added and the code in the LOAD, INIT and PAINT.

Remember that if you do this, you cannot use this form for anything else.

http://www.foxite.com/uploads/58409969-75f2-4aef-937c-e8ba34486c50.zip

You can even do this in a toolbar class.

Bernard

** If you see someone without a smile, give em one of yours :) **
My Blog



COMPLETE THREAD
Scrolling text Posted by Danson Danson @ 7/2/2009 4:11:31 PM
RE: Scrolling text Posted by Stefan Wuebbe @ 7/2/2009 4:15:40 PM
RE: Scrolling text Posted by Boudewijn Lutgerink @ 7/2/2009 4:16:58 PM
RE: Scrolling text Posted by Danson Danson @ 7/4/2009 12:09:43 PM
RE: Scrolling text Posted by Bernard Bout @ 7/3/2009 1:58:26 AM
RE: Scrolling text Posted by Glen Villar @ 7/3/2009 3:15:46 AM
RE: Scrolling text Posted by Danson Danson @ 7/4/2009 12:58:44 PM
RE: Scrolling text Posted by Yousfi Benameur @ 7/3/2009 7:04:33 PM
RE: Scrolling text Posted by Mike Gagnon @ 7/4/2009 12:58:48 PM