?? 17159.html
字號:
<html> <head> <title>Re: 怎樣用 VB 編寫倒計時器?</title> </head> <body bgcolor="#FFFFFF" vlink="#808080"> <center> <h1>Re: 怎樣用 VB 編寫倒計時器?</h1> </center><hr size=7 width=75%><hr size=7 width=75%><p>Posted by <a href="mailto:maskjou@ms34.hinet.net">小周</a> on August 13, 1999 at 00:44:50:<p>In Reply to: <a href="17149.html">怎樣用 VB 編寫倒計時器?</a> posted by Steven Sin on August 12, 1999 at 21:48:39:<p>: 即是用一個 textbox 來輸入欲倒時的時間(e.g. 5分鍾即倒數5分鍾)<br>: 跟著在另一個 textbox 顯示倒時?<p>嗯...可以先將text1的分轉換成秒數后設成一變數<p>如 SEC=val(text1.text0 * 60 '假如輸入的是分<p>再利用TIMER...把timer設成一秒<br>Timer中再寫<br>text2=SEC \ 60 +":"+ SEC mod 60<p>SEC=SEC-1<br>if SEC=0 then timer.enable=false<p>這樣應該可以吧....<p><p><br><br><br><hr size=7 width=75%><p><a name="followups">Follow Ups:</a><br><ul><!--insert: 17159--></ul><!--end: 17159--><br><hr size=7 width=75%><p></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -