APPLICATION DESIGN


Modifying a form to size an embedded object
If an object's server application supports OLE2 "in-place" editing, IBMR LotusR DominoR DesignerR 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

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

2. Choose Edit - Properties or select the dynamic menu presented for the OLE application. For example, clicking a Lotus 1-2-3 object adds the menu choice "Workbook." Select Workbook, then Object Properties.

3. In the Properties box, choose "Size object to fit window." The following occurs:

4. Close the Properties box.

5. Save and close the form.

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

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


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.

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.

See Also