Domino Code Fragment

Code Name*
Dialogbox calls a Form!
Date*
04/28/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.18.222.37.169
Description*
This script displays a document in a dialog box using the policy form whenever a user clicks the action button. The first layout region on the policy form is sized to fit in the dialog box.
Type*
LotusScript
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
pg 495 prog guid 1
Use [autovertfit] and [autohorzfit]
Files/Graphics attachments (if applicable): Code:
Sub Click(Source As Button)
 Dim workspace As New NotesUIWorkspace
 Call workspace.DialogBox( "policy", True, True )
End Sub