Expression object
Tip The /COM object can be placed on a HTML page (with usage of the HTML object tag:  <object classid="clsid:...">)  using the class identifier: {B33F5489-49AC-4155-98E7-9BBFC57FF019}. The object's program identifier is: "Exontrol.Expression". The /COM object module is: "Expression.dll"
The Exontrol's Expression component is a syntax-editor that helps you to define, view, edit and evaluate expressions. Most of our UI components support formatting based on arithmetic expressions. For instance, the Column.FormatColumn property specifies the format to display the column's content. In other words, if the Column.FormatColumn property is "currency(value)" the column displays values as currency, like $1,234.00, instead 1234. The Expression objects supports the following properties and methods:

NameDescription
AddCustomOperatorAdds a custom operator.
AllowContextMenuSpecifies whether the control's default context menu is available.
AllowDefaultOperatorsSpecifies whether the expression supports default operators.
AllowFindSpecifies whether control displays a find dialog when user presses CTRL+F key.
AllowIncrementalSearchSpecifies whether the control allows incremental search.
AllowReplaceSpecifies whether control displays a replace dialog when user presses CTRL+H key.
AllowSplitterSpecifies whether the control's splitter is visible or hidden.
AllowUndoRedoSpecifies whether the control allows undo/redo actions.
AllowValueKeywordSpecifies whether the expression supports the value keyword.
AppearanceRetrieves or sets the control's appearance.
AttachTemplateAttaches a script to the current object, including the events, from a string, file, a safe array of bytes.
BackColorRetrieves or sets a value that indicates the control's background color.
BackgroundReturns or sets a value that indicates the background color for parts in the control.
CanRedoDetermines if the redo queue contains any actions.
CanUndoDetermines whether the last edit operation can be undone.
CaptionSpecifies the caption for a field on the Find, Replace dialog or control's context menu.
ClearCustomOperatorsClears the custom operators.
CodeCompletionSpecifies whether the code completion feature is enabled or disabled.
ContextKeySpecifies the key combination that opens the control's context window.
ContextMenuItemsSpecifies a list of items that are added to the control's context menu.
CursorGets or sets the cursor that is displayed when the mouse pointer hovers the control.
DescriptionSpecifies the description of the giving keyword.
DisplaySelectionSpecifies whether the control displays the selection.
EnabledEnables or disables the control.
EvaluateEvaluates the current expression and returns the result.
EvaluateSelectionSpecifies whether the control evaluates the selection when it is available.
EvaluationResultSpecifies the evaluation result, each line indicates a result value.
EvaluationTextSpecifies the evaluation text, each line indicates a test value.
EvaluationTimeIndicates the time in ms to evaluate the expression.
EventParamRetrieves or sets a value that indicates the current's event parameter.
ExecuteTemplateExecutes a template and returns the result.
ExpressionIndicates the expression to be evaluated.
FindFinds a string and selects the string if it is found.
FocusPaneSpecifies the index of pane that has the focus.
FontRetrieves or sets the control's font.
ForeColorRetrieves or sets a value that indicates the control's foreground color, while the expression is valid.
ForeColorInvalidRetrieves or sets a value that indicates the control's foreground color, while expression is invalid.
FormatABCFormats the A,B,C values based on the giving expression and returns the result.
FormatDatesSpecifies the HTML format that's applied to dates.
FormatNumbersSpecifies the HTML format that's applied to numbers.
FormatResultSpecifies the HTML format to show the result.
FormatStringsSpecifies the HTML format that's applied to strings.
HideSelectionSpecifies whether the selection in the control is hidden when the control loses the focus.
hWndGets the window's handle.
hWndPaneGets the window handle of the control's pane.
ImagesSets the control's images list at runtime. The Handle should be a handle to an Image List control.
ImageSizeRetrieves or sets the size of icons the control displays..
IncrementalSearchErrorRetrieves or sets a value that specifies the color to show the 'Incremental Search' field when the typing string is not found.
IndentOnTabSpecifies whether the multiple lines selection is indented when user presses the TAB key.
IsValidSpecifies whether the expression is valid ( syntactically correct ).
LineHeightSpecifies an expression that determines the height of the line within the editor.
LockedDetermines whether a control can be edited.
MultiLineSpecifies whether the control accepts multiple lines.
OLEDragCauses a component to initiate an OLE drag/drop operation.
OLEDropModeReturns or sets how a target component handles drop operations
OvertypeSpecifies whether the control is running in overtype mode.
PictureRetrieves or sets a graphic to be displayed in the control.
PictureDisplayRetrieves or sets a value that indicates the way how the graphic is displayed on the control's background
RClickSpecifies whether the control's cursor is placed at the mouse position when user right clicks the control.
RedoRedoes the next action in the control's redo queue.
RefreshRefreshes the control.
ReplaceIconAdds a new icon, replaces an icon or clears the control's image list.
ScrollBarsSpecifies the type of scroll bars that control has.
ScrollButtonHeightSpecifies the height of the button in the vertical scrollbar.
ScrollButtonWidthSpecifies the width of the button in the horizontal scrollbar.
ScrollFontRetrieves or sets the scrollbar's font.
ScrollHeightSpecifies the height of the horizontal scrollbar.
ScrollOrderPartsSpecifies the order of the buttons in the scroll bar.
ScrollPartCaptionSpecifies the caption being displayed on the specified scroll part.
ScrollPartCaptionAlignmentSpecifies the alignment of the caption in the part of the scroll bar.
ScrollPartEnableIndicates whether the specified scroll part is enabled or disabled.
ScrollPartVisibleIndicates whether the specified scroll part is visible or hidden.
ScrollThumbSizeSpecifies the size of the thumb in the scrollbar.
ScrollToolTipSpecifies the tooltip being shown when the user moves the scroll box.
ScrollWidthSpecifies the width of the vertical scrollbar.
SelBackColorSpecifies the selection's background color.
SelBackColorHideSpecifies the selection's background color, when the control has no focus, and the HideSelection property is False.
SelForeColorSpecifies the selection's foreground color.
SelForeColorHideSpecifies the selection's foreground color, when the control has no focus, and the HideSelection property is False.
SelLengthReturns or sets the number of characters selected.
SelStartReturns or sets the starting point of text selected; indicates the position of the insertion point if no text is selected.
SelTextReturns or sets the string containing the currently selected text.
ShowCaretSpecifies whether the control's caret is visible or hidden.
ShowImageListSpecifies whether the control's images panel dialog is visible or hidden.
ShowToolTipShows the specified tooltip at given position.
SplitPaneHeightSpecifies a value that indicates the height in pixels of the top pane(s) when splitting.
SplitPaneWidthSpecifies a value that indicates the width in pixels of the left pane(s) when splitting.
TabLengthSpecifies the size of each tab stop, in units equal to the average character width.
TemplateSpecifies the control's template.
TextSpecifies the control's text.
ToolTipDelaySpecifies the time in ms that passes before the ToolTip appears.
ToolTipFontRetrieves or sets the tooltip's font.
ToolTipOnTypingSpecifies a value that indicates whether the tooltip of the keyword is shown while typing.
ToolTipPopDelaySpecifies the period in ms of time the ToolTip remains visible if the mouse pointer is stationary within a control.
ToolTipWidthSpecifies a value that indicates the width of the tooltip window, in pixels.
UndoCall this function to undo the last edit-control operation.
UseTabKeySpecifies whether the control uses the TAB key.
VersionRetrieves the control's version.
VisualAppearanceRetrieves the control's appearance.
WordFromPointRetrieves the word from the cursor.