อันนี้หมายถึงเราใช้ฟอร์มแสดงเป็น dialoguebox เพื่อรับค่าแล้วเวลาที่ปิดจะเช็คว่าให้ปิด dialogue หรือไม่ครับ ตัวนี้ไม่ได้ใช้ในการเช็คปิดฟอรม์ครับ คนละแบบกันครับ
LotusScript example (applicable for Notes R5 and later):
Dim w As New NotesUIWorkspace
While Not w.DialogBox("TestDialog",,,True)
Messagebox "You are not allowed to Cancel from the dialogbox."
Wend
Note: The DialogBox method is called with a fourth parameter of True, so that the Cancel button is not displayed.
In Notes R6, the Formula language also includes an @While function. For example:
@While(!@DialogBox("TestDialog";[NoCancel]);) |