Share via


OnTextboxContentChange Method [Office 2003 SDK Documentation]

The OnTextboxContentChange method specifies the actions to perform when a user changes the value of a text box displayed in the Document Actions task pane. The OnTextBoxContentChange method is called when a text box loses focus. Applies to controls that are specified as C_TYPE_TEXTBOX.

Applies to

ISmartDocument

Syntax

[Visual Basic 6.0]

Private Sub ISmartDocument_OnTextboxContentChange(ByVal ControlID As Long, ByVal Target As Object, ByVal Value As String)

[Visual Basic .NET]

Public Sub OnTextboxContentChange(ByVal ControlID As Integer, ByVal Target As Object, ByVal Value As String) Implements Microsoft.Office.Interop.SmartTag.ISmartDocument.OnTextboxContentChange

[C#]

public void ISmartDocument.OnTextboxContentChange(int ControlID, object Target, string Value)

[Visual C++ 6.0]

STDMETHOD(OnTextboxContentChange)(INT ControlID, IDispatch * Target, BSTR Value)

[Visual C++ .NET]

STDMETHOD(OnTextboxContentChange)(int ControlID, LPDISPATCH Target, BSTR Value)

Parameters

ControlID   Represents the ID number assigned to a control in the ControlID property.

Target   Specifies the Microsoft Word or Microsoft Excel Range object that represents the XML element for which the action is defined.

Value   Represents the text in the text box.