ObjectExecute (Button class - LotusScript®)

Occurs when an action, button, or hotspot is activated by an OLE2 server that is FX/Notesflow enabled.

Defined in

Button class

Syntax

ObjectExecute(Source As Button, Data As Variant)

Parameters

Source

Button. Read-only.

Data

Variant. Handle to the OLE2 server Dispatch/Automation interface.

Usage

When you create a script that responds to this event, Domino® creates the syntax of the event for you (including the parameter). You do not need to type it in.

See "Using OLE custom controls" example for creating a form action that executes when an embedded OLE custom control (a spreadsheet) detects a mouse click.