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

  • Home
  • SEARCH
  • 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
  • 0 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

Ask A Question

Stats

  • Questions 158k
  • Answers 158k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Well, i finally found an interesting way to do. First,… May 12, 2026 at 11:15 am
  • Editorial Team
    Editorial Team added an answer The this variable is not pointing to the element you're… May 12, 2026 at 11:15 am
  • Editorial Team
    Editorial Team added an answer For modern web browsers (After IE9) See the Duplicate listed… May 12, 2026 at 11:15 am

Related Questions

There was some code like this: // Convenience to make things more legible in
I am trying to quickly process large images (about 2000x2000). I am using a
Background : I was recently playing around with GDI+ to draw a Disc displaying
im trying to use a file upload control from the obout control library, i

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.