Re: [VB6 ] 時間延遲的問題
※ 引述《wilson5215 (啊?)》之銘言:
: Private Sub Text2_KeyPress(KeyAscii As Integer)
: b = Text2.Text
: If KeyAscii = 13 Then
: KeyAscii = 0
: Label2.Visible = True
: Open App.Path & "\temp.txt" For Append As #1
: Print #1, Text2.Text
: Close #1
PauseTime = 1
Start = Timer
Do While Timer < Start + PauseTime
DoEvents
Loop
Finish = Timer
TotalTime = Finish - Start
: <---------------------我想在這裡加入延遲一秒
: Image1.Visible = True 但是我無法使用Delay或Sleep
: Text1.Visible = False 不知道為什麼
: Text2.Visible = False
: Text3.Visible = True
: End If
: End Sub
@_@ 這樣呢 ?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.168.235.137
→
02/05 22:53, , 1F
02/05 22:53, 1F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):