📄 looprun.txt
字号:
Function LoopRun(ByVal Frm As Form)
Static WL As Long
Static IsNeedRun As Boolean
IsNeedRun = Not IsNeedRun: If WL = 0 Then WL = Frm.hWnd
Do While IsNeedRun = True And (Frm.hWnd = WL)
'*添加代码*
'**********
'**********
DoEvents
Loop
If (Frm.hWnd <> WL) Then Unload Frm
''''LoopRun = IsNeedRun'无法返回状态
End Function
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -