Assembly: Ms;
The MsExpressionEdit class implements the MsExpressionEdit development environment component.
IComponent
IControl
ICustomEdit
ITermEdit
MsExpressionEdit
The MsExpressionEdit component is used to edit expression and contains a tooltip for used functions and methods.
| Property name | Brief description | |
| The Expression property determines the expression edited in the MsExpressionEdit component. | ||
| The FormulaTermList property determines term collection available in the MsExpressionEdit. | ||
| The FormulaTransform property determines parameters of the model, to which the MsExpressionEdit component is set up. | ||
| The HeavyDelimiters property determines expression delimiter. | ||
| The LightDelimiters property determines the delimiter for words of the same term. | ||
| The MaxTermWordCount property sets maximum number of words in a term. | ||
| The Rubricator property determines the time series database, which attributes are available in the MsExpressionEdit component to work with. | ||
| The SelectionSet property determines selection of time series database attributes. | ||
| The UseFullVariableNames property determines whether to use full operand names. |
| Property name | Brief description | |
EnableHyperlinks |
The EnableHyperlinks property determines whether expression can be displayed as a hyperlink. | |
Formula |
The Formula property determines expression formula. | |
Hyperlink |
The Hyperlink property determines whether selected expression is displayed as a hyperlink. | |
Terms |
The Terms property returns collection of component terms. | |
WantReturns |
The WantReturns property determines whether it is possible to insert a carriage return character in the edited text. | |
WantTabs |
The WantTabs property determines whether it is possible to insert a tab character in the edited text. | |
WordWrap |
The WordWrap property determines whether the words that are longer than component length should be wrapped to a new line. |
| Property name | Brief description | |
AutoSelect |
The AutoSelect property determines whether all component text is selected when component gets focus. | |
BorderStyle |
The BorderStyle property determines component border style. | |
CanUndo |
The CanUndo property returns True if it is possible to undo text changes in the component. | |
CharacterCasing |
The CharacterCasing property determines the case of entered component characters. | |
HideSelection |
The HideSelection property determines whether selected component text should remain selected on transferring focus to another component. | |
MaxLength |
The MaxLength property determines the maximum length of entered text. | |
Modified |
The Modified property returns True if the component text has been changed. | |
ReadOnly |
The ReadOnly property determines whether the user is allowed to change component text. | |
SelLength |
The SelLength property determines length of the selected component text in characters. | |
SelStart |
The SelStart property determines the position to start text selection in the component. | |
SelText |
The SelText property determines text selected in the component. |
| Property name | Brief description | |
![]() |
Align | The Align property determines component alignment within its parent component. |
![]() |
AllowDrag | The AllowDrag property determines whether an object can be dragged from the component. |
![]() |
AllowDrop | The AllowDrop property determines whether the component can receive a dragged object. |
![]() |
Anchors | The Anchors property returns settings determining percentage of the resizing for the current component on resizing the parent component. |
![]() |
Brush | The Brush property determines the brush that is used to fill the component area. |
![]() |
ClientHeight | The ClientHeight property determines the height of the client component area. |
![]() |
ClientWidth | The ClientWidth property determines the width of the client component area. |
![]() |
Color | The Color property determines the component background color. |
![]() |
Cursor | The Cursor property determines how the cursor looks like when it is hovered over the component at the form runtime. |
![]() |
Enabled | The Enabled property determines whether the component is available for the user. |
![]() |
Focused | The Focused property returns True if the focus is set to the component. |
![]() |
Font | The Font property determines parameters of the font that is used to display text in the component. |
![]() |
Height | The Height property determines component height in pixels. |
![]() |
HelpContext | The HelpContext property determines a unique index for a section of a context help for this component. |
![]() |
Hint | The Hint property determines the tooltip text displayed if the cursor is hovered over the component. |
![]() |
HintTimeout | The HintTimeout determines the time, for which the tooltip is displayed. |
![]() |
Left | The Left property determines the coordinate of the component left edge in pixels. |
![]() |
Parent | The Parent property determines a parent component. |
![]() |
ParentColor | The ParentColor property determines whether the component inherits the color of the parent component. |
![]() |
ParentFont | The ParentFont property determines whether the component must use the font of the parent component. |
![]() |
ParentShowHint | The ParentShowHint property determines when a tooltip is displayed. |
![]() |
PopupMenu | The PopupMenu property determines the context menu displayed when the component is clicked using the right mouse button. |
![]() |
Scrolls | The Scrolls property returns parameters of component scrollbars. |
![]() |
ShowHint | The ShowHint property determines whether a tooltip will be displayed when the cursor is hovered over the component. |
![]() |
TabOrder | The TabOrder property determines the position of the component in a tab order. |
![]() |
TabStop | The TabStop property determines whether the focus is set to the component when the Tab button is pressed. |
![]() |
Text | The Text property determines the row identifying the component for the user. |
![]() |
Top | The Top property determines the coordinate of the component upper edge in pixels. |
![]() |
Visible | The Visible property determines whether the component is displayed when a form is executed. |
![]() |
Width | The Width property determines the horizontal size of the component in pixels. |
| Property name | Brief description | |
![]() |
ComponentCount | The ComponentCount property returns the number of child components located on the parent component. |
![]() |
Components | The Components property returns the child component, which index is passed by the input parameter. |
![]() |
Data | The Data property is used to store any custom data. |
![]() |
Name | The Name property determines a component name. |
![]() |
Tag | The Tag property is not used by the compiler. The user can change the value of this property and use it at his own discretion. |
| Method name | Brief description | |
| AddStub | The AddStub method adds a cube as a data source of MsExpressionEdit. | |
| The AddAttribute method adds the attribute, which values are used to create series in the component. | ||
| The ClearAttributes method deletes all attributes, added for using in the component. | ||
| The GetAttributeCount method returns the number of the attributes, available for using in the component. | ||
| The RemoveAttribute method deletes the selected attribute from the attributes list, the values of which are used in the component. |
| Method name | Brief description | |
BeginUpdate |
The BeginUpdate method disables a set of internal mechanisms for accelerating insertion of terms into the component. | |
EndUpdate |
The EndUpdate method restores work of internal mechanisms of the component, which were disabled for acceleration of insertion of terms into the component. | |
PutCustom |
The PutCustom method places custom term to selected position. | |
PutLiteral |
The PutLiteral method places literal term to selected position. | |
PutTerm |
The PutTerm method inserts term to selected position. | |
Reparse |
The Reparse method transforms editor text and redistribution of terms in the components. |
| Method name | Brief description | |
Clear |
The Clear method deletes all text in the component. | |
ClearSelection |
The ClearSelection method deletes selected text in the component. | |
ClearUndo |
The ClearUndo method fixes the changes of the Text property. | |
CopyToClipboard |
The CopyToClipboard method copies selected data to clipboard. | |
CutToClipboard |
The CutToClipboard method cuts selected data to clipboard. | |
PasteFromClipboard |
The PasteFromClipboard method pastes data from clipboard. | |
SelectAll |
The SelectAll method selects all text in the component. | |
Undo |
The Undo method cancels last text change in the component. |
| Method name | Brief description | |
| ClientToScreen | The ClientToScreen method converts the point coordinates specified relative to the component coordinate system to screen coordinates. | |
| DoDragDrop | The DoDragDrop method starts dragging. | |
| GetImage | The GetImage method returns a graphic view of the component together with all child components. | |
| ScreenToClient | The ScreenToClient method converts screen coordinates of a point to coordinates specified relative to the component coordinate system. | |
| SetFocus | The SetFocus method sets focus to this component. |
| Event name | Brief description | |
| OnUpdateFormula | The OnUpdateFormula event that occurs on converting the external presentation of expression to the internal one. | |
| OnUpdateText | The OnUpdateText event occurs on converting the internal presentation of expression into the external one. |
| Event name | Brief description | |
![]() |
OnBeginDrag | The OnBeginDrag event occurs for the component when the user starts to drag an object from the component. |
![]() |
OnClick | The OnClick event occurs if the user clicks the component area. |
![]() |
OnControlMove | The OnControlMove event occurs when the component is moved. |
![]() |
OnControlResize | The OnControlResize event occurs when the component is resized. |
![]() |
OnDblClick | The OnDblClick event occurs if the user double-clicks the component area. |
![]() |
OnDragDrop | The OnDragDrop event occurs for the component if the user drops a dragged object over it. |
![]() |
OnDragEnter | The OnDragEnter event occurs when a dragged object enters the component area. |
![]() |
OnDragLeave | The OnDragLeave event occurs when a dragged object leaves the borders of this component. |
![]() |
OnDragOver | The OnDragOver event occurs for the component when the user drags an object over it. |
![]() |
OnEnter | The OnEnter event occurs when the component receives focus. |
![]() |
OnExit | The OnExit event occurs when the component loses focus. |
![]() |
OnHScroll | The OnHScroll event occurs when horizontal scrollbar slider changes its position. |
![]() |
OnKeyDown | The OnKeyDown event occurs if the component is focused and a keyboard key is pressed. |
![]() |
OnKeyPress | The OnKeyPress event occurs if the component is focused when the user presses a character key. |
![]() |
OnKeyPreview | The OnKeyPreview event occurs prior to each event requiring clicking. |
![]() |
OnKeyUp | The OnKeyUp event occurs if the component is focused and the user releases any button previously pressed. |
![]() |
OnMouseDown | The OnMouseDown event occurs if the pointer is in the component area and a mouse key is pressed. |
![]() |
OnMouseEnter | The OnMouseEnter event occurs when mouse cursor enters the component area. |
![]() |
OnMouseHover | The OnMouseHover event occurs when mouse cursor is held in the component area. |
![]() |
OnMouseLeave | The OnMouseLeave event occurs when mouse cursor leaves the component area. |
![]() |
OnMouseMove | The OnMouseMove event occurs when the cursor is moved over the component. |
![]() |
OnMouseUp | The OnMouseUp event occurs when the mouse button is released and the cursor is in the component area. |
![]() |
OnMouseWheel | The OnMouseWheel event occurs if the component is focused when the user rotates a mouse wheel. |
![]() |
OnVScroll | The OnVScroll event occurs when position of vertical scrollbar slider is changed. |
See also: