作者parrotot (禎禎 )
看板Visual_Basic
標題[VB6 ] 請問按紐按住變數要連續+1
時間Thu Jul 3 09:54:57 2008
請問如果用一個command按一下加1......
按住不放要連續加1.....
Private Sub Command3_Click()
Text1 = Format(Val(Text1) + 10, "000000"): spp = 1
End Sub
原本是000000按一下command 加1
按住要連續加1要用一事件呢??
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 211.20.208.2
1F:→ MrOrz:MouseDown配合Timer 07/03 11:41
2F:→ parrotot:thanks 07/04 16:19
3F:→ parrotot:我用SPP那個語法按住ENTER會連續加為什麼呢?? 07/08 11:08