[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Implements the basic functionality required by text controls. [Property] ##TextBoxBase=Inherited from the TextBoxBase class @AcceptsTab=Sets a value indicating whether pressing the TAB key in a multiline text box control types a TAB character in the control instead of moving the focus to the next control in the tab order. ARG(bool)|14|1|True,False @BorderStyle=Sets the border type of the text box control. ARG(BorderStyle)|14|2|None,FixedSingle,Fixed3D @HideSelection=Sets a value indicating whether the selected text in the text box control remains highlighted when the control loses focus. ARG(bool)|14|0|True,False @Lines=Sets the lines of text in a text box control. ARG(string[])|13|2 @MaxLength=Sets the maximum number of characters the user can type or paste into the text box control. ARG(int)|1|32767 @Multiline=Sets a value indicating whether this is a multiline text box control. ARG(bool)|14|1|True,False @ReadOnly=Sets a value indicating whether text in the text box is read-only. ARG(bool)|14|1|True,False @ShortcutsEnabled=Sets a value indicating whether the defined shortcuts are enabled. ARG(bool)|14|0|True,False @Text=Sets the current text in the text box. ARG(string)|2| @WordWrap=Indicates whether a multiline text box control automatically wraps words to the beginning of the next line when necessary. ARG(bool)|14|0|True,False ## [Methods] *doAppendText=Appends text to the current text of a text box. ARG(string data)|1|0 *doAutoSize=Sets a value indicating whether the height of the control automatically adjusts when the font assigned to the control is changed. ARG(bool)|1|0 *doClear=Clears all text from the text box control. ARG()|1|0 *doClearUndo=Clears information about the most recent operation from the undo buffer of the text box. ARG()|1|0 *doCopy=Copies the current selection in the text box to the Clipboard. ARG()|1|0 *doCut=Moves the current selection in the text box to the Clipboard. ARG()|1|0 *doDeselectAll=Specifies that the value of the SelectionLength property is zero so that no characters are selected in the control. ARG()|1|0 *doGetCharFromPosition=Retrieves the character that is closest to the specified location within the control. ARG(Point pt)|1|0 *doGetCharIndexFromPosition=Retrieves the index of the character nearest to the specified location. ARG(Point pt)|1|0 *doGetFirstCharIndexFromLine=Retrieves the index of the first character of a given line. ARG(int lineNumber)|1|0 *doGetLineFromCharIndex=Retrieves the line number from the specified character position within the text of the control. ARG(int index)|1|0 *doGetPositionFromCharIndex=Retrieves the location within the control at the specified character index. ARG(int index)|1|0 *doModified=Sets a value that indicates that the text box control has been modified by the user since the control was created or its contents were last set. ARG(bool)|1|0 *doPaste=Replaces the current selection in the text box with the contents of the Clipboard. ARG()|1|0 *doScrollToCaret=Scrolls the contents of the control to the current caret position. ARG()|1|0 *doSelect=Selects a range of text in the text box. ARG(int start, int length)|1|0 *doSelectAll=Selects all text in the text box. ARG()|1|0 *doSelectedText=Sets a value indicating the currently selected text in the control. ARG(string)|1|0 *doSelectionLength=Sets the number of characters selected in the text box. ARG(int)|1|0 *doSelectionStart=Sets the starting point of text selected in the text box. ARG(int)|1|0 *doUndo=Undoes the last edit operation in the text box. ARG()|1|0 *onAcceptsTabChanged=Occurs when the value of the AcceptsTab property has changed. ARG(EventArgs)|2|0 *onBorderStyleChanged=Occurs when the value of the BorderStyle property has changed. ARG(EventArgs)|2|0 *onClick=Occurs when the text box is clicked. ARG(EventArgs)|2|0 *onGetCharFromPosition=Occurs after invoke the method doGetCharFromPosition and returns the result ARG(char)|2|106 *onGetCharIndexFromPosition=Occurs after invoke the method doGetCharIndexFromPosition and returns the result ARG(int)|2|1 *onGetFirstCharIndexFromLine=Occurs after invoke the method doGetFirstCharIndexFromLine and returns the result ARG(int)|2|1 *onGetLineFromCharIndex=Occurs after invoke the method doGetLineFromCharIndex and returns the result ARG(int)|2|1 *onGetPositionFromCharIndex=Occurs after invoke the method doGetPositionFromCharIndex and returns the result ARG(Point)|2|0 *onHideSelectionChanged=Occurs when the value of the HideSelection property has changed. ARG(EventArgs)|2|0 *onModifiedChanged=Occurs when the value of the Modified property has changed. ARG(EventArgs)|2|0 *onMouseClick=Occurs when the control is clicked by the mouse. ARG(MouseEventArgs)|2|0 *onMultilineChanged=Occurs when the value of the Multiline property has changed. ARG(EventArgs)|2|0 *onReadOnlyChanged=Occurs when the value of the ReadOnly property has changed. ARG(EventArgs)|2|0 *AcceptsTab=Returns a value indicating whether pressing the TAB key in a multiline text box control types a TAB character in the control instead of moving the focus to the next control in the tab order. ARG(bool)|3|104 *AutoSize=Returns a value indicating whether the height of the control automatically adjusts when the font assigned to the control is changed. ARG(bool)|3|104 *BorderStyle=Returns the border type of the text box control. ARG(BorderStyle)|3|0 *CanUndo=Returns a value indicating whether the user can undo the previous operation in a text box control. ARG(bool)|3|104 *GetFirstCharIndexOfCurrentLine=Retrieves the index of the first character of the current line. ARG(int)|3|1 *HideSelection=Returns a value indicating whether the selected text in the text box control remains highlighted when the control loses focus. ARG(bool)|3|104 *Lines=Returns the lines of text in a text box control. ARG(string[])|3|13 *MaxLength=Returns the maximum number of characters the user can type or paste into the text box control. ARG(int)|3|1 *Modified=Returns a value that indicates that the text box control has been modified by the user since the control was created or its contents were last set. ARG(bool)|3|104 *Multiline=Returns a value indicating whether this is a multiline text box control. ARG(bool)|3|104 *PreferredHeight=Returns the preferred height for a text box. ARG(int)|3|1 *ReadOnly=Returns a value indicating whether text in the text box is read-only. ARG(bool)|3|104 *SelectedText=Returns a value indicating the currently selected text in the control. ARG(string)|3|2 *SelectionLength=Returns the number of characters selected in the text box. ARG(int)|3|1 *SelectionStart=Returns the starting point of text selected in the text box. ARG(int)|3|1 *ShortcutsEnabled=Returns a value indicating whether the defined shortcuts are enabled. ARG(bool)|3|104 *Text=Returns the current text in the text box. ARG(string)|3|2 *TextLength=Returns the length of text in the control. ARG(int)|3|1 *WordWrap=Indicates whether a multiline text box control automatically wraps words to the beginning of the next line when necessary. ARG(bool)|3|104 *index=The character index position to search. ARG(int)|4|1 *length=The number of characters to select. ARG(int)|4|1 *lineNumber=The line for which to get the index of its first character. ARG(int)|4|1 *pt=The location from which to seek the nearest character. ARG(Point)|4|0 *start=The position of the first character in the current text selection within the text box. ARG(int)|4|1 *data=The text to append to the current contents of the text box. ARG(string)|4|2