New topic: How to create scrolling text
<http://forums.realsoftware.com/viewtopic.php?t=31413> Page 1 of 1 [ 3 posts ] Previous topic | Next topic Author Message m-v-p Post subject: How to create scrolling textPosted: Fri Dec 04, 2009 1:44 am Joined: Sat Jan 07, 2006 1:39 am Posts: 176 Hello. I would like to create an horizontal scrolling text display, similar to the java applets "news tickers" one finds on the net. I thought, no problem. Using a Timer control, display a string in a Static Text control. Chop of the first character and add it to the end of the string. Then display the resulting string. And so on, and so on. This works, but the resulting animation isn't smooth. It jerks and it's display flashes. Tried different period settings for the Timer, but the results stay poor. Is there a better way to do this, or does anyone know of a "news ticker" plug-in ? Greetings Michel Top rbasic20091005153 Post subject: Re: How to create scrolling textPosted: Fri Dec 04, 2009 3:00 am Joined: Sat Apr 04, 2009 5:10 pm Posts: 439 There are several example projects that come with RB like WaveLetter (Examples > Small Graphics Demos) where the Canvas control is used to scroll text horizontally. Perhaps, you can learn some tips from these example projects. _________________ Mac OS X 10.5.6/REALBasic 2008 R5.1 I say 'no' to MBS plug-ins. I boycott them. Top qbap Post subject: Re: How to create scrolling textPosted: Fri Dec 04, 2009 5:05 am Joined: Fri Oct 02, 2009 1:02 pm Posts: 20 Location: POLAND You can learn how to do this from my tutorial "Creating text scrolling effect in REALbasic" http://realbasic.tutspolis.com/tutorial ... realbasic/ _________________ web: http://realbasic.tutspolis.com/ Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 3 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
