- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 6# lichang
¸Õ¸Õ¬Ý- #If VBA6 Then
- Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) 'For 32 Bit Systems
- #Else
- Private Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) 'For 64 Bit Systems
- #End If
- Dim Msg As Boolean 'Boolean ªì©lÈFalse
- Private Sub CommandButton1_Click()
- Msg = Not Msg '¤ÏÂà:·íTrueÂରFalse,·íFalseÂରTrue
- Image_ZOrder
- End Sub
- Private Sub Image_ZOrder()
- Dim Ar(), i As Integer, t As Date
- Ar = Array(Image1, Image2, Image3)
- t = Time
- Do While Msg 'Msg=True °õ¦æ³o Do Loop ªº°j°é
- DoEvents
- 'Sleep 1000
- If t + #12:00:01 AM# <= Time Then '¨C¬í¤@¦¸,¤]¥i¥H¤£¥Î Sleep
- Ar(i).ZOrder msoBringToFront
- i = i + 1
- If i > UBound(Ar) Then i = 0
- t = Time
- End If
- Loop
- End Sub
½Æ»s¥N½X |
|