Welcoming words moving on

  • Thread starter Frank Situmorang
  • Start date
F

Frank Situmorang

Hello:

I am learning to make a welcoming words in the opening of a database like
what I learned from DatabaseDev.co.uk. website and it's going to be OK.

Can any body help me how to make the words moving in line, I mean trailling,
I do not now how to say it in English, but something like animation.

Thanks.

Frank
 
F

fredg

Hello:

I am learning to make a welcoming words in the opening of a database like
what I learned from DatabaseDev.co.uk. website and it's going to be OK.

Can any body help me how to make the words moving in line, I mean trailling,
I do not now how to say it in English, but something like animation.

Thanks.

Frank

Something like this, perhaps?

Add a label to your form.
Set it's Caption to a space.
Set the Label's TextAlign property to Right.
Size the label to a one line height, as wide as you wish it.

Set the Form's Timer interval to 500 (for a one half second interval
scroll).

Code the form's Timer event:

Private Sub Form_Timer()
Dim strMsg As String
Static I As Integer
I = I + 1
strMsg = "Some message here "
If I > Len(strMsg) Then I = 1
LabelName.Caption = LabelName.Caption & Mid(strMsg, I, 1)
End Sub

The message will continuously scroll.
 
F

Frank Situmorang

Thanks very much Fredg I will try it, but first I have to understand how it
works
 
Top