- ©«¤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 - Private Sub MultiPage1_Change()
- If MultiPage1.Value = 1 Then
- Image_ZOrder '±Nµ{¦¡±±¨îÅvÂಾ ³o [Image_ZOrder]µ{§Ç¡A
- '¶·µ¥³oµ{¦¡°õ¦æ§¹²¦,µ{¦¡±±¨îÅv¤~·|¦^¨ì³o¸Ì
- 'Ä~Äò End If ¤U±ªºµ{¦¡½X
- 'Image_ZOrder °õ¦æ´Á¶¡, MultiPage1_Changeªºµ{¦¡¤£·|°õ¦æªº
- '©Ò¥H²§°Ê¨â¦¸«á¤~·|¦^´_
- Else
- '''µ{¦¡½X
- End If
- '''End If«áªºµ{¦¡½X
- '''End If«áªºµ{¦¡½X
- End Sub
½Æ»s¥N½X ¸Õ¸Õ¬Ý- Dim Msg As Boolean, Form_Msg As Boolean
- Private Sub MultiPage1_Change()
- If MultiPage1.Value = 1 Then
- Msg = True
- Else
- Msg = False
- End If
- End Sub
- Private Sub UserForm_Activate()
- Do While Form_Msg = False
- DoEvents
- If Msg = True And MultiPage1.Value = 1 Then
- Image_ZOrder
- End If
- Loop
- End Sub
- Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
- Form_Msg = True
- End Sub
- Private Sub Image_ZOrder()
- Dim Ar(), i As Integer, j As Integer, t As Date
- Ar = Array(Image1, Image2, Image3)
- t = Time
- Do While Msg = True And MultiPage1.Value = 1 '°õ¦æ³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 |
|