- Home
·
- Miscellaneous
·
- This code allows you to display different messages in a label without have to change the caption an
This code allows you to display different messages in a label without have to change the caption an
This code allows you to display different messages in a label without have to change the caption and use a whole bunch of space.
Rate This code allows you to display different messages in a label without have to change the caption an
(1(1 Vote))
Words(1)="Walter"
Words(2)="Richardson"
Words(3)="also known as Striver2000"
End Sub
'Place three timers on your form name timer1,timer2,and timer3'
'Make timer1 interval 1000 and timer2 2000 and timer3 3000'
'Make timer2 and timer3 enabled property false'
'Make a label on your form and name it label1'
Private Sub timer1_time()
label1.caption= "Words(1)"
timer1.enabled=false
timer2.enabled=true
End Sub
Private Sub timer2_time()
label1.caption="Words(2)"
timer2.enabled=false
timer3.enabled=true
End Sub
Private sub timer3_time()
label1.caption="Words(3)"
timer3.enabled=false
timer1.enabled=true
End Sub
This code allows you to display different messages in a label without have to change the caption an Comments
No comments yet — be the first to post one!
Post a Comment