SetInputFormText Method
SetInputFormText Method
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release. The SetInputFormText method is used to change the text of the title and prompt fields and the text of the Accept and Cancel buttons in the New Folder and Rename Folder forms.
Applies To
Syntax
Visual Basic .NET
Sub SetTextInputForm ( ByVal inputBoxPrompt As String, ByVal inputBoxAcceptButton As String, ByVal inputBoxCancelButton As String, ByVal inputBoxTitleRename As String, ByVal inputBoxTitleNew As String )
C#
void SetTextInputForm ( string inputBoxPrompt, string inputBoxAcceptButton, string inputBoxCancelButton, string inputBoxTitleRename, string inputBoxTitleNew );
Parameters
Parameter | Description |
---|---|
inputBoxPrompt | The text that the prompt of the Rename Folder and New Folder forms will be changed to. |
inputBoxAcceptButton | The text that the text of the Accept button will be changed to. |
inputBoxCancelButton | The text that the text of the Cancel button will be changed to. |
inputBoxTitleRename | The text that the title of the Rename Folder form will be changed to. |
inputBoxTitleNew | The text that the title of the New Folder form will be changed to. |
Return Value
Returns VOID.
Remarks
The default prompt for the New Folder and Rename Folder input forms is "Enter the folder name."
The default text for the Accept button in the New Folder and Rename Folder input forms is "OK".
The default text for the Cancel button in the New Folder and Rename Folder input forms is "Cancel".
The default title for the Rename Folder input form is "Rename Folder".
The default title for the New Folder input form is "New Folder".
Examples
Visual Basic .NET
In the following example, the title of the New Folder form is changed to "Create New Folder". The default text values for the Rename Folder form title, the Accept and Cancel buttons, and the New Folder and Rename Folder form prompts do not change.
SetTextInputForm("Enter the folder name.", _ "OK", _ "Cancel", _ "Rename Folder", _ "Create New Folder")
C#
In the following example, the title of the New Folder form is changed to "Create New Folder". The default text values for the Rename Folder form title, the Accept and Cancel buttons, and the New Folder and Rename Folder form prompts do not change.
SetTextInputForm("Enter the folder name.", "OK", "Cancel", "Rename Folder", "Create New Folder");
Send us your feedback about the Microsoft Exchange Server 2003 SDK.
Build: June 2007 (2007.618.1)
© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.