Visual Basic Reference
LinkOpen Event
See Also Example Applies To
Occurs when a DDE conversation is being initiated.
Syntax
Private SubForm_LinkOpen(cancelAsInteger)
Private SubMDIForm_LinkOpen(cancelAs Integer)
Private Subobject_LinkOpen([indexAsInteger,]cancelAsInteger)
The LinkOpen event syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
cancel | An integer that determines whether the DDE conversation is established or not. Leaving cancel set to 0 (the default) establishes the conversation. Setting cancel to any nonzero value refuses the conversation. |
index | An integer that uniquely identifies a control if it's in a control array. |
Remarks
This event occurs for forms when a destination application is initiating a DDE conversation with the form. It occurs for controls when a control is initiating a DDE conversation with a source application.