Vertical Scrolling

X

XMan

In the About window, I like to have a automatic vertical scrolling text
window showing the credits. Is there a way to do this? TIA.
 
M

Michel Walsh

Hi,


There is probably many ways to do it, one is to copy (bit by bit) a
bitmap into another one, but starting with an offset, increasing with time:
copy 10 lines starting from the first line of bitmapA to (the first line of)
bitmapB, then, some time after, copy again 10 lines, but starting from the
second line of bitmapA to (still the first line of) bitmapB, then, again
some time after, copy again 10 lines, starting from the third line of
bitmapA to bitmpapB... etc.

Within Access, I also assume you will need the freely available
Stephen's PictureBox class available at http://www.lebans.com/

If copying makes too much flickering, a technique is to have TWO
bitmapB, b1, and b2, one is invisible, and you always copy into the one that
is invisible. When the copy is done, exchange the bitmaps b visibility
(negate each:
Bitmapb1.visible=Not Bitmapb1.visible
Bitmapb2.visible=Not Bitmapb2.visible
) and start over a new copy, always on the one which is not visible at that
moment. That reduces flickering substantially, in general.


Hoping it may help,
Vanderghast, Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top