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
- With the form in Edit mode, click the object.
- Choose Edit - Properties or select the dynamic menu presented for the OLE application. Select Workbook, then Object Properties.
- 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.
- Close the Properties box.
- Save and close the form.
To edit the OLE object using the properties in the programmer's pane
Procedure
- With the form in Edit mode, click the object.
Properties for the OLE application display in the Programmer's pane.
- Highlight (SizeToWindow) and double-click the value to toggle it from FALSE to TRUE. Click outside the Programmer's pane to accept the change.
- 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.