Inspector.EditorType Property
Outlook Developer Reference |
Returns an OlEditorType constant indicating the type of editor. Read-only.
Syntax
expression.EditorType
expression A variable that represents an Inspector object.
Example
This Microsoft Visual Basic Scripting Edition (VBScript) example uses the Open event to access the HTMLBody property of an item. This sets the EditorType property of the item’s Inspector to olEditorHTML. If this code is placed in the Script Editor of a form in design mode, the message boxes during run time will reflect the change in the EditorType as the body of the form changes. The final message box utilizes the ScriptText property to display all the VBScript code in the Script Editor.
Visual Basic Scripting Edition |
---|
|
See Also