|
-
July 25th, 1999, 05:17 PM
#1
putting scrooling text/bmp on my form
how does one put scrlling txt etx on the form in vblike the advertisemernts that appear on the net??
-
July 26th, 1999, 01:37 AM
#2
Re: putting scrooling text/bmp on my form
For text you can use the (same) Marquee control
(Marquee.ocx). For images, you have to play animated gifs may be. One method is to use a WebBrowser control. It would be a overkill however!!
-
July 26th, 1999, 02:58 AM
#3
Re: putting scrooling text/bmp on my form
Ok here is the code for making text scroll in textbox:
1) Make Timer (timer1.timer)
2) make a textbox (text1.text)
3) Place this code into form
Dim scroll as string
private Sub Form_Load()
Timer1.interval = 100
scroll = string(30, " ") + " Hello! Can you see me scrolling?"
End Sub
private Sub Timer1_Timer()
scroll = mid(scroll, 2) & Left(scroll, 1)
Text1 = scroll
End Sub
Hope that works
-
July 26th, 1999, 11:39 AM
#4
Re: putting scrooling text/bmp on my form
HOW DO I CODE FOR MARQUEE??
-
July 26th, 1999, 11:57 AM
#5
Re: putting scrooling text/bmp on my form
OH YUPEE THAT WORKS.THANKS A LOT!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|