 |
| How to put a horizontal text scrolling on the form (a news line) |
User rating: 0/10 (0 votes) | |
|
|
 |
 |
| Before you begin: |
 |

See also:
Scrolling text on the form vertically (a movie cast)
Shaking VFP form controls
Playing AVI on _screen
Displaying animated images
Form Magnifier
|
 |
 |
| |
| |
Members area. Log in to view this example. |
|
| |
|
|
|
|
|
 |
User rating: 0/10 (0 votes) | |
| 7694 bytes Created: 2002-12-22 13:45:42 Modified: 2011-12-10 09:20:22 Visits in 7 days: 138 |
|
 |
 |
| Listed functions: |
 |
|
 |
 |
| My comment: |
 |
The complete character string is written on invisible canvas, which is a virtual device context.
At each Timer tick an offset is calculated, and a smaller part of the large image is copied from the invisible canvas to a visible one.
A visible canvas is the Device Context created either for an instance of a Form or for the _SCREEN object -- the object must have valid HWnd. |
 |
 |
| Word Index links for this example: |
 |
|
|
 |
 |
| Translate this page: |
 |
|