APPLICATION DESIGN


Modifying a form so that it sizes an OLE custom control
You can edit the size properties for an OLE custom control using the properties box for the object or by setting property values in the Programmer's pane.

To edit the OLE custom control using the properties box

1. Open the form and click the custom control.

2. Choose Applet - Object Properties.

3. Choose one of the following in the properties box:

4. Close the properties box.

5. Save and close the form.

To edit the OLE custom control in the Programmer's pane

1. Open the form and click the OLE custom control. Properties for the custom control OLE application display in the Programmer's pane.

2. Select "SizeToWindow" and double-click the value to toggle it to TRUE.

3. Click outside the properties sheet to accept the change.

4. Save and close the form.

Expansion properties of OLE custom controls

When you use the form to create a document, the control expands, based on the property you chose. Note the following:

See Also