Modifying a form to size an embedded object

About this task

If an object's server application supports OLE2 "in-place" editing, Domino® Designer can expand the object when you edit it so that you can edit the object directly from the form or page. You can edit the property for the OLE object using either the Object Properties box, or using the property sheet in the Programmer's pane.

To edit the OLE object using the properties box

Procedure

  1. With the form in Edit mode, click the object.
  2. Choose Edit - Properties or select the dynamic menu presented for the OLE application. Select Workbook, then Object Properties.
  3. In the Properties box, choose "Size object to fit window." The following occurs:
    • When a user uses this form to create a document, the user must double-click the object to display it in the full application window.
    • If the document contains information below the object, the user will not be able to see that information.
  4. Close the Properties box.
  5. Save and close the form.

To edit the OLE object using the properties in the programmer's pane

Procedure

  1. With the form in Edit mode, click the object.

    Properties for the OLE application display in the Programmer's pane.

  2. Highlight (SizeToWindow) and double-click the value to toggle it from FALSE to TRUE. Click outside the Programmer's pane to accept the change.
  3. Save and close the form.

Results

Note: When the SizeToWindow property is set to TRUE, an OLE object will expand to fit the entire window after a user double-clicks it. Note that if there is information on the form other than the OLE object, it will not display when the OLE object is expanded to fit the window.