Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, June 9, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Controls | New ThreadView:  Search:  
 Author  Thread: Is there a control to scroll text like a stock ticker?
Lawrence Reid
Posts: 63
 
Is there a control to scroll text like a stock ticker?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Aug 07 11:07 AM
We need a way to display announcements. A stock ticker type of display has been requested.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Is there a control to scroll text like a stock ticker?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Aug 07 11:59 AM
Quote:
Originally posted by Lawrence Reid

We need a way to display announcements. A stock ticker type of display has been requested.


It's easy enough to create your own.

  1. Drop a Timer on a Form
  2. Set the timer to Enabled and the interval to something like 175 (you can make this a higher number to scroll the text slower)
  3. Add a Label that will be the ticker (and contain the ticker text)
  4. For the Timer event of the Timer control, add the following code (assuming your ticker label is named Label1)

    Sub Timer1Timer(Sender)

    If (Label1.Width + Label1.Left) > 0 Then
    Label1.Left = Label1.Left - CInt(Form.Width / 15)
    Else
    Label1.Left = Form.Width
    End If
    End Sub


    That should do it. Have fun.

    -Ryan
[Reply][Quote]
Lawrence Reid
Posts: 63
 
Re: Is there a control to scroll text like a stock ticker?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Aug 07 12:03 PM
Thanks Ryan. This looks simple enough.
[Reply][Quote]
Ian Fitzpatrick
Posts: 146
 
Re: Is there a control to scroll text like a stock ticker?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Aug 07 2:45 PM
Thanks Ryan!

I don't "need" to use this, but it's so simple I might offer to implement something that uses this idea.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/9/2025 8:29:43 PM