Pinball Nirvana Home Page

Go Back   Pinball Nirvana Forums > VP/VPM Help and Support > VP/VPM General Information and First Aid Station

VP/VPM General Information and First Aid Station Request Help about Visual Pinball or Visual PinMAME.

Reply
 
Thread Tools Search this Thread
  #1  
Old 11-28-2019, 04:27 PM
fastdraw fastdraw is offline
Inserted Coin
 

Join Date: Dec 2015
Posts: 26
Credits: 848.26
Thanks: 11
Thanked 5 Times in 5 Posts
Rep Power: 0
fastdraw is on a distinguished road
Question how to display a countdown in seconds ?

how to display a countdown in seconds ?


solved by albert :


'**********countdown**************

Timer1.Interval =1000
Timer1.enabled =1
Dim seconds
seconds =180

Sub Timer1_Timer
If seconds =0 then

Me.enabled =0

Exit Sub

End If
seconds = seconds -1
TextBox1.Text =seconds
End Sub



















Fonction Sound est limitée à 200 caractères


Options : Historique : Commentaires : DonateFermer

Last edited by fastdraw; 11-29-2019 at 05:48 AM.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:16 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Template-Modifications by TMS
Credits System provided by vBCredits II Deluxe (Lite) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
Shoutbox provided by vBShout v6.2.15 (Lite) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.