a lil help =/

Xx_DeMiSe_xX
09-28-2001, 09:45 PM
I just started programming and i only know the simple stuff....timers, command buttons, text box, labels, etc.
I was wondering if there was anyway to make a line of text move around the form at random spots.
This is just something i want to know how to do...

usetheforce2
09-28-2001, 11:00 PM
hey

you could use a Timer and a Label and randomly generate new left and top properties so the label will appear around the form.

<pre><font color=blue>Private Sub</font color=blue> Timer1_Timer()

Randomize
<font color=blue>With</font color=blue> Label1
.Left = (Me.Width - .Width) * Rnd
.Top = (Me.Height - .Width) * Rnd
<font color=blue>End With</font color=blue>

<font color=blue>End Sub</font color=blue>

</pre>

good luck!

"The crows seem to be calling his name, thought Caw." - Jack Handy

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum