FirstClassトップページ


 ヘルプの目次
このヘルプについて このヘルプについて
 
エンドユーザ向けヘルプ エンドユーザ向けヘルプ
Client Help クライアントヘルプ
Web Help Webアクセスヘルプ
ScreenReader Help スクリーンリーダ
Form フォーム
Synchronization 同期
Definitions 用語
container コンテナ
 
管理者向けヘルプ 管理者向けヘルプ
Administration サーバの管理
Internet Services インターネットサービス
Customization Tools カスタマイズツール(英語)
Administering OTSW OTSWの管理
OTSW Custodian OTSW Custodian
Using FirstClass ED FirstClass ED(英語)
 
バナー:
 
 DoEvents
 
Purpose
Interrupts a currently running subroutine to process pending user input.
Use DoEvents to develop applications that respond to user input while the application loops, and to monitor data or update values on the form.
Syntax
DoEvents (StartTime, EndTime)
Example
Sub Click ()
        Dim StartTime as integer
        LastTime as integer
        Dim IconNumber as integer
        
        Randomize
        StartTime = Timer
        
        Do While (Timer < StartTime + 60)
'run loop for 60 seconds
                If Timer > LastTime + 1 Then
'every second, run this code
                IconNumber = Int ( (9 * Rnd) +1)        
'Generate 1 of 9 random icons
                DisplayIcon(IconNumber)
        End If
        DoEvents '**Call DoEvents to process pending input**
        Loop
End Sub

 

Copyright(C) 2002-2012 FC Management Co. All Rights Reserved<