The OLE Container Options Dialog

The OLE Container Options dialog can be displayed by clicking on the Options check box in the Edit OLE Container dialog. This dialog presents additional attributes of a OLE container form field, primarily related to dynamic behavior. The dialog consists of one section, Callback Events.

Callback Events Section

This section presents the different callback events to which the OLE container can be made to respond.

Lost Focus

If this check box is selected, the OLE container responds to a "GotFocus" event and terminates a FORM INPUT command. A "GotFocus" event occurs when the OLE container receives the input focus, using mouse clicks, tabbing or an accelerator key. After the FORM INPUT command terminates, the event vector Event is populated as follows: Event.EventName contains the string "GotFocus", Event,  EventType contains the string "FormField", and Event.EventTag contains the Field Tag value associated with the OLE container or if blank, the OLE container's Field Name.

Lost Focus (Always)

If this check box is selected, the OLE container responds to a "LostFocus (Always)" event and terminates a FORM INPUT command. A "Lost Focus (Always)" event occurs when the OLE container loses the input focus, using a mouse click, tabbing or an accelerator key. After the FORM INPUT command terminates, the event vector Event is populated as follows: Event.EventName contains the string "LostFocus", Event.EventType contains the string "FormField", and Event.EventTag contains the Field Tag value associated with the OLE container or if blank, the OLE container's Field Name.

Click

If this check box is selected, the OLE container responds to a "Click" event and terminates a FORM INPUT command. A "Click" event occurs when the OLE container receives the input focus by mouse click. After the FORM INPUT command terminates, the event vector Event is populated as follows: Event.EventName contains the string "Click", Event.EventType contains the string "FormField", and Event.EventTag contains the Field Tag value associated with the OLE container or if blank, the OLE container's Field Name.

Double Click

If this field is selected, the OLE container field responds to a "Double Click" event and terminates a FORM INPUT command. A "Double Click" event occurs when a double click of the mouse occurs within the OLE container field. After the FORM INPUT command terminates, the event vector Event is populated as follows: Event.EventName contains the string "DoubleClick", Event.EventType contains the string "FormField", and Event.EventTag contains the Field Tag value associated with the OLE container field or if blank, the OLE container field's Field Name.

Dialog Push Buttons

Close

This push button performs required data validation, records (but does not commit) any changes which were made in this dialog, and returns to the Edit OLE Container dialog.

Cancel

This push button discards any changes that were made in this dialog and returns to the Edit OLE Container dialog.

Help

This push button invokes the Zim Help facility, initially displaying the section entitled OLE Container Options dialog (this section).