ExpressionEdit.TextType

Syntax

ExpressionEdit.TextType

Data Type

TextTypes

Use the following constants with this data type:

  • TextType_Expression –(Value: 1) Indicates the text in an ExpressionEdit control is an expression.
  • TextType_ExpressionWithCppIdentifiers –(Value: 2) Indicates the text in an ExpressionEdit control is an expression that might contain C++ scope resolution and template operators.
  • TextType_PlainText –(Value: 0) Indicates the text in an ExpressionEdit control is not an expression. The value of the ExpressionEdit.Text property is equivalent to the value of the ExpressionEdit.DisplayText property. This value makes an ExpressionEdit control behave like an edit or text box control. The ExpressionEdit control does not use syntax highlighting, perform error checking, perform autocompletion, or display function tips. The ExpressionEdit control context menu contains only menu items for text editing.

Purpose

Use this property to make an ExpressionEdit control behave like an ordinary edit or text box control. This is useful when you want to use an edit control for editing expressions and plain text.

See Also

ExpressionEdit.DisplayText

ExpressionEdit.Text