LOTUSSCRIPT /COM/OLE のクラス


例:QueryDragDrop イベント
次の QueryDragDrop イベントは、ユーザーが [カレンダー] ビューのエントリの開始時刻と終了時刻を承認すると、ドラックアンドドロップ操作を続行します。

(Globals) (Declarations)
%INCLUDE "lsconst.lss"

Sub Querydragdrop(Source As Notesuiview, Continue As Variant)
 If Messagebox (Source.CalendarDateTime & Chr(13) & _
 Source.CalendarDateTimeEnd, _
 MB_YESNO + MB_ICONQUESTION, _
 "Are these start and end times OK") = IDYES Then
   Continue = True
 Else
   Continue = False
 End If
End Sub

関連項目