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

Related Questions

I was wondering if anyone could give me an example or point me to
Could anyone point me to a resource that explains WCF with pictures and simple
I was wondering if anyone could point to an Open Source date utility class
Could anyone explain with some examples when it is better to call functions by
C#: Could anyone give me good example on how anchoring controls at runtime is
ASP.NET: Could anyone provide some C# paging codes in Repeater or ListView controls for
I was wondering if someone could point me towards some good resources for learning
Could anyone recommend a good BAML Decompiler / Viewer besides BAML Viewer plugin for
Could anyone suggest a good packet sniffer class for c++? Looking for a easy
Could anyone explain me why: function doAjax() { var xmlHttpReq = false; try {

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.