Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 50111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:32:32+00:00 2026-05-10T16:32:32+00:00

Could anyone could point me to some code/give me ideas on how to create

  • 0

Could anyone could point me to some code/give me ideas on how to create a smooth scrolling vertical marquee for VFP 8 or 9?

Any help is appreciated.

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T16:32:32+00:00Added an answer on May 10, 2026 at 4:32 pm

    Here’s a quick program that will scroll messages. Put the following in a prg file and run it.

    I’d make a containerScrollArea a class that encapsulates the timer, labels, and scrolling code. Give it GetNextMessage method that you can override to retrieve the messages.

    * Put a container on the screen to hold our scroller _screen.AddObject('containerScrollArea', 'container')  WITH _Screen.containerScrollArea     * Size it     .Visible = .t.     .Width = 100     .Height = 100      * Add two labels, one to hold each scrolling message     .AddObject('labelScroll1', 'Label')      .AddObject('labelScroll2', 'Label')       * This timer will move the labels to scroll them     .AddObject('timerScroller', 'ScrollTimer') ENDWITH  WITH _Screen.containerScrollArea.labelScroll1     * The labels are positioned below the margin of the container, so they're not initially visible     .Top = 101     .Height = 100     .Visible = .t.     .WordWrap = .t.     .BackStyle= 0     .Caption = 'This is the first scrolling text, which is scrolling.' ENDWITH  WITH _Screen.containerScrollArea.labelScroll2     * The labels are positioned below the margin of the container, so they're not initially visible     .Top = 200     .Height = 100     .Visible = .t.     .WordWrap = .t.     .BackStyle= 0     .Caption = 'This is the second scrolling text, which is scrolling.' ENDWITH  * Start the timer, which scrolls the labels _Screen.containerScrollArea.timerScroller.Interval = 100   DEFINE CLASS ScrollTimer AS Timer     PROCEDURE Timer          * If the first label is still in view, move it by one pixel         IF This.Parent.labelScroll1.Top > -100             This.Parent.labelScroll1.Top = This.Parent.labelScroll1.Top - 1         ELSE             * If the first label has scrolled out of view on the top of the container, move it back to the bottom.             This.Parent.labelScroll1.Top = 101             * Load some new text here         ENDIF          IF This.Parent.labelScroll2.Top > -100             * If the second label is still in view, move it by one pixel             This.Parent.labelScroll2.Top = This.Parent.labelScroll2.Top - 1         ELSE             * If the second label has scrolled out of view on the top of the container, move it back to the bottom.             This.Parent.labelScroll2.Top = 101             * Load some new text here         ENDIF     ENDPROC ENDDEFINE 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering if anyone could give me an example or point me to
Could anyone point exactly where MSDN says thet every user stored procedure returns 0
Can anyone point me in the direction of how I could get a NUnit
Could anyone provide me with the pointers to source code for linux commands such
I was wondering if someone could point me towards some good resources for learning
could anyone please clarify the meaning of line generalizes the tag object's storage of
could anyone assist me with this. I need to compare two beefy xml files
Could anyone recommend me a good open source .Net based wiki project? Better with
could anyone tell me the difference between Terminal and non-terminal symbol in the case
Could anyone please tell me why the following line about filter init method invocation

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.