LOTUSSCRIPT/COM/OLE CLASSES


Examples: DialogBox method
1. This script displays a document in a dialog box using the policy form whenever a user clicks the button. The first layout region on the policy form is sized to fit into the dialog box.
2. This script displays the current document using a form called DirectReports. Both the current document and the DirectReports form display a number field called HeadCount. In the dialog box, the user may edit the HeadCount, which means that the field value for HeadCount changes on the current document. The script compares the HeadCount field before and after the call to DialogBox and updates the TotalHeadCount field with any changes. For example, if HeadCount increases by 5, the script increases TotalHeadCount by 5.
3. This script brings up a dialog box with the category and subject of the first document in the "By Category" view.
See Also