A RichTextEdit control contains a document that it displays as formatted text. It can include input fields that are linked to a DataWindow control. When a DataWindow's data is shared with the RichTextEdit control, there is one instance of the document in the control that can be displayed multiple times with different occurrences of row data. Input fields whose names match columns in the DataWindow are filled with data from the current row.
RichText editors
You can select from the rich text editors supported by Appeon PowerBuilder. The selected rich text editor will be applicable to the RichTextEdit control, the RichText DataWindow object, and the RichText edit style. For more information about the rich text editors, see the section called “Rich text editors” in Application Techniques; and for feature difference of the rich text editor, see the section called “Feature difference between TX Text Control (64-bit) and Microsoft RichEdit Control (64-bit)” in Application Techniques.
Using with animation features
RichTextEdit controls may not paint correctly when you use animation features.
RichTextEdit property |
Datatype |
Description |
---|---|---|
Integer |
Specifies the ASCII value of the accelerator key you want to assign as the accelerator for the control. |
|
String |
A description of the control and/or its purpose for use by accessibility tools such as readers for visually impaired users. |
|
String |
A label that briefly describes the control, such as the text in a button or the name of a menu item. |
|
AccessibleRole (enumerated) |
Describes what kind of user interface element the control is. |
|
Long |
Specifies the numeric value of the background color of the text editing area of the RichTextEdit. Values are 0 to &HFFFFFF. For more information about color, see the section called “RGB” in PowerScript Reference. |
|
Boolean |
Specifies whether the control has a border. Values are: TRUE -- Has a border. FALSE -- Does not have a border. |
|
BorderStyle (enumerated) |
Specifies the style of the border of the control. Values are: StyleBox! StyleLowered! StyleRaised! StyleShadowBox! |
|
Long |
Gets or sets the size of the bottom margin on the printed page. |
|
Boolean |
Specifies whether PowerBuilder moves the control to the top of the front-to-back order in the window. Values are: TRUE -- Moves it to the top. FALSE -- Does not move it to the top. |
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing information about the class definition of the object or control. |
Boolean |
Specifies whether control characters (carriage returns, spaces, and tabs) are visible. Values are: TRUE -- Control characters are visible. FALSE -- Control characters are hidden. |
|
Boolean |
Specifies whether users can make changes to the content. Values are: TRUE -- The content, including text and input files, is protected (the user cannot edit it). FALSE -- The user can edit the content. |
|
String |
Specifies the name that displays in the print queue when the user prints the contents of the control. |
|
Boolean |
(Obsolete) This property is no longer supported by the RichTextEdit control since PowerBuilder 12.6. Specifies whether PowerBuilder puts the control automatically into Drag mode. Values are: TRUE -- When the control is clicked, the control is automatically in Drag mode. FALSE -- When the control is clicked, the control is not automatically in Drag mode. You have to manually put the control into Drag mode by using the Drag function. |
|
String |
Specifies the name of the stock icon or the file containing the icon you want to display when the user drags the control (the ICO file). The default icon is a box the size of the control. When the user drags the control, the icon displays when the control is over an area in which the control can be dropped (a valid drop area). When the control is over an area that is not a valid drop area, the No-Drop icon displays. |
|
Boolean |
Specifies whether the control is enabled (can be selected). Values are: TRUE -- Can be selected. FALSE -- Cannot be selected. |
|
String |
Specifies the typeface used for text in the control. |
|
FontCharSet (enumerated) |
Specifies the character set for text in the control. |
|
FontFamily (enumerated) |
Specifies the font family for text in the control. |
|
FontPitch (enumerated) |
Specifies the spacing of the font used for text in the control. |
|
Boolean |
Specifies whether the RichTextEdit control has a header/footer section. This property must be set in the painter and cannot be changed during execution. Values are: TRUE -- The control has a header/footer section. FALSE -- The control does not have a header/footer section. If a document has a header or footer and is opened in a control that does not support a header/footer section, then header/footer information in the document is ignored. If the document is then saved in the same file, the header/footer information is lost. |
|
Integer |
Specifies the height of the control, in PowerBuilder units. |
|
Boolean |
Specifies whether the RichTextEdit control has a horizontal scroll bar. Values are: TRUE -- A scroll bar displays. FALSE -- A scroll bar does not display. |
|
ImeMode |
Integer |
Specifies the input method editor mode. This property is relevant only to applications running on a Japanese version of PowerBuilder. |
Long |
Specifies default background color for all input fields: -2 to 16,777,215. For more information about color, see the section called “RGB” in PowerScript Reference. Limitation with the new control: For the new control, this property will not take effect until you save the data into a PDF file or print the data; which means, when you preview the UI in the design view or when you run the UI, you will always see the background color is gray, only when you run the UI and save the data to a PDF file or print the data, you will see the background color is changed to what you set. |
|
Boolean |
Specifies whether input field names are displayed in input fields, rather than the input field values. Values are: TRUE -- Input fields display their names. FALSE -- Input fields display their data. |
|
Boolean |
Specifies whether input fields are visible. Values are: TRUE -- Input fields are visible. FALSE -- Input fields are hidden. |
|
Boolean |
Specifies default text formatting. Values are: TRUE -- Text displays in italic format. FALSE -- Text displays in standard format. Maintained for forward compatibility with PowerBuilder .NET. In PowerBuilder applications, use the check box on the Font tab of the Properties view to set this property at initialization. |
|
Long |
Gets or sets the size of the left margin on the printed page. |
|
Modified |
Boolean |
Specifies whether the document has been modified since it was opened or last saved. Modified is the control's "dirty" flag, indicating that the document is in an unsaved state. Values are: TRUE -- The document has been modified. FALSE -- The document has not been modified. When the first change is made to a newly opened or saved document, PowerBuilder sets the Modified attribute and triggers the Modified event. |
Long |
Specifies the value for the display height of pages in the control. |
|
PaperOrientation(enumerated) |
Specifies the page orientation in the control. |
|
Long |
Specifies the value for the display width of pages in the control. |
|
Boolean |
(Obsolete) This property is no longer supported by the RichTextEdit control since PowerBuilder 12.6. When the value is true, graphics (bitmaps) are displayed as frames. |
|
String |
Specifies the name of the stock pointer of the file containing the pointer that is used for the control. |
|
Boolean |
Specifies whether the user has access to a pop-up menu by clicking the right mouse button on the control. The menu allows the user to cut and paste, insert a file, and select formatting options. Values are: TRUE -- Pop-up menu is enabled. FALSE -- Pop-up menu is disabled. |
|
Boolean |
Specifies whether the user can resize the control. Values are: TRUE -- Control is resizable. FALSE -- Control is not resizable. |
|
Long |
Gets or sets the size of the right margin on the printed page. |
|
Boolean |
Specifies that characters to be inserted in the right-to-left order and layout to be right justified. The application must be running on an operating system that supports right-to-left display. Values are: TRUE -- Characters inserted in right-to-left order and layout to be right justified. FALSE -- Characters inserted in left-to-right order and layout to be left justified. In the RichTextEdit control and the RichText DataWindow object, RightToLeft = true will insert characters in the right-to-left order in the text editor, and display the layout right justified in the toolbar, status bar, ruler, popup menus, and dialog box. In the RichText edit style column, RightToLeft = true will insert characters in the right-to-left order in the active cell, and display the layout right justified in the toolbar for the current column. |
|
Boolean |
Specifies whether a ruler bar is visible above the editing area. If visible, the user can use it to see measurements while setting tabs and margins on the tab bar (see the TabBar (obsolete) property). Values are: TRUE -- Ruler bar is visible. FALSE -- Ruler bar is hidden. If the RichTextEdit pop-up menu is enabled, the user can use it to turn ruler bar display on and off (see the PopMenu property). |
|
Long |
Specifies the starting position in a selected text string. Typically, you use this property to set the starting position of a selected text string to the first letter of a word flagged by a supported ActiveX spell checker control. |
|
Long |
Specifies the length of text you want to highlight in a selected text string. Typically you use this property to obtain the length of a misspelled word that is flagged after passing the selected text string to a supported ActiveX spell checker control. |
|
StatusBar |
Boolean |
Specifies whether a status bar is visible below the editing area. Values are: TRUE -- Status bar is visible. FALSE -- Status bar is hidden. If the pop-up menu is enabled, the user can use it to turn the status bar display on and off (see the PopMenu property). |
Integer |
Specifies the tab value of the control within the window (0 means the user cannot tab to the control). Note that because a RichTextEdit allows tabs within its content, the user cannot tab away from the control. |
|
String |
Specifies the tag value assigned to the control. |
|
Integer |
Specifies the point size of text in the control. |
|
Boolean |
Specifies whether a tool bar for formatting text is visible above the editing area. Values are: TRUE -- Tool bar is visible. FALSE -- Tool bar is not visible. If the pop-up menu is enabled, the user can use it to turn tool bar display on and off (see the PopMenu property). |
|
Long |
Gets or sets the size of the top margin on the printed page. |
|
Boolean |
Specifies default text formatting. Values are: TRUE -- Text displays with underlines. FALSE -- Text displays without underlines. Maintained for forward compatibility with PowerBuilder .NET. In PowerBuilder applications, use the check box on the Font tab of the Properties view to set this property at initialization. |
|
Boolean |
Specifies whether the control is visible: TRUE -- Control is visible. FALSE -- Control is not visible. |
|
Boolean |
Specifies whether the RichTextEdit control has a vertical scroll bar. Values are: TRUE -- A scroll bar displays. FALSE -- A scroll bar does not display. |
|
Integer |
Specifies default text weight formatting for the control. Maintained for forward compatibility with PowerBuilder .NET. In PowerBuilder applications, use the Bold check box on the Font tab of the Properties view to set bold text weight formatting at initialization. |
|
Integer |
Specifies the width of the control, in PowerBuilder units. |
|
Boolean |
Determines whether large blocks of text that do not contain spaces wrap automatically to the next line when the line reaches the margin. Values are: TRUE -- Automatic word wrap is enabled. FALSE -- Automatic word wrap is disabled. Users cannot enter characters beyond the right margin, and must move the cursor to a new line to continue entering text. If an inserted document contains a block of text too large to fit on a line, the nonfitting characters are hidden. Limitation with the new control: For the new control, this property is always true (even when it is set to false, it is treated as true). |
|
Integer |
Specifies the X position (the distance from the left edge of the window), in PowerBuilder units. |
|
Integer |
Specifies the Y position (the distance from the top of the window), in PowerBuilder units. |
RichTextEdit event |
Occurs |
---|---|
Immediately before the Open event occurs in the window. |
|
Immediately after the Close event occurs in the window. |
|
When the user double-clicks anywhere in the RichTextEdit control. |
|
When a dragged control is dropped on the control. |
|
When a dragged control enters the control. |
|
When a dragged control leaves the control. |
|
When a dragged control is within the control. |
|
When the document in the RichTextEdit is saved to a file, but a file of the specified name already exists. |
|
Just before the control receives focus (before it is selected and becomes active). |
|
When the user presses the F1 key or drags the context help button (question mark) from the title bar to a menu item or control. |
|
When the user selects an input field by double-clicking it. |
|
When the user presses a key. |
|
When the control loses focus (becomes inactive). |
|
When the first change is made to the contents of the RichTextEdit control, and it has not been saved. In the Modified event script, you can set a flag indicating that the document needs to be saved. |
|
When the left or middle mouse button is pressed on the control. |
|
When the mouse has moved within the control. |
|
When the left or middle mouse button is released on the control. |
|
When a Windows message occurs that is not a PowerBuilder event. |
|
When the user selects a picture by clicking it. |
|
When the right mouse button is pressed on the control. If the pop-up menu is enabled, this event does not occur. |
|
When the right mouse button is released on the control. |
RichTextEdit function |
Datatype returned |
Description |
---|---|---|
Boolean |
Returns true if the edit that was previously undone can be restored. |
|
Boolean |
Returns true if there is an editing function that can be undone. |
|
String |
Returns the name assigned to the control. |
|
Long |
Clears selected text (if any) from the control, but does not place it in the clipboard. |
|
Long |
Clears all content from the specified control, but does not place it in the clipboard. |
|
Long |
Copies (but does not delete) the selected contents of the RichTextEdit control (if any) to the clipboard. |
|
String |
Copies the selected contents of the RichTextEdit control to a string in rich text format. |
|
Long |
Cuts (deletes) the selected contents from the RichTextEdit control (if any) to the clipboard. |
|
Integer |
Associates a DataWindow with the RichTextEdit control, matching columns with input fields of the same name. |
|
Integer |
Starts or ends dragging of the control. |
|
Integer |
Finds text in the control. Enhancement of the new control: For the new control, the Find function can not only find the text string, but also can find the carriage return characters and some special characters. |
|
Integer |
Finds the next occurrence of text specified with the Find function. |
|
FormCheckBoxGetChecked | Boolean | Gets the checked status of the checkbox form field at the given field ID. |
FormCheckBoxInsert | Integer | Inserts a checkbox type form field at the current text input position in a RichTextEdit control. Users can click the checkbox form field to change the field value if necessary. |
FormCheckBoxSetChecked | Integer | Sets the checked status of the checkbox form field at the given field ID. |
FormComboBoxGetItems | Integer | Gets the list of items from the dropdown of a combobox field. |
FormComboBoxInsert | Integer | Inserts a combobox type form field at the current text input position in a RichTextEdit control. A combobox has a list of items in its dropdown and text in its edit field. After a combobox is inserted, the edit field shows the text. If a user clicks at the text, the combobox will display with the list of items. |
FormComboBoxSetItems | Integer | Sets the list of items to display for the dropdown of a combobox field. |
FormDateFieldGetDate | Date | Gets the date value displayed in the date form field. |
FormDateFieldGetFormat | String | Gets the date format used for displaying the date in the date form field. |
FormDateFieldInsert | Integer | Inserts a date type form field at the current text input position in a RichTextEdit control. A date field shows a date in its edit field. After a date field is inserted, if a user clicks at the date, a date-picking control will display for selecting a different date. |
FormDateFieldSetDate | Integer | Sets the date value to display in the date form field. |
FormDateFieldSetFormat | Integer | Sets the date format for displaying the date in the date form field. |
FormFieldDelete | Integer | Deletes the specified form field. |
FormFieldGetCurrent | Integer | Gets the ID of the current form field. |
FormFieldGetDeletable | Integer | Gets the deletable setting of the specified form field. |
FormFieldGetEmptyWidth | Integer | Gets the empty width (that is, the width of the field when there is no text displayed) set for a form field. |
FormFieldGetEnd | Integer | Gets the end position of the specified form field. |
FormFieldGetStart | Integer | Gets the starting position of the specified form field. |
FormFieldGetText | Integer | Gets the text being displayed for a form field. |
FormFieldNext | Integer | Finds the next form field after the specified form field. |
FormFieldSetCurrent | Integer | Sets a form field as current. |
FormFieldSetDeletable | Integer | Sets whether a form field is deletable by pressing the keyboard key. |
FormFieldSetEmptyWidth | Integer | Sets the empty width (that is, the width of the field when there is no text displayed) for a form field. |
FormFieldSetText | Integer | Sets the display text for a form field. |
FormTextFieldInsert | Integer | Inserts a text type form field at the current text input position in a RichTextEdit control. |
Alignment |
Obtains the alignment of the selected text. |
|
Integer |
Creates a reference to a context-specific instance of the specified service. |
|
Long |
Gets the size of the indentation, left margin, or right margin of the paragraph containing the insertion point. |
|
PowerObject |
Returns a reference to the name of the parent object. |
|
Spacing |
Obtains the line spacing of the selected text. |
|
Long |
Returns the color of the selected text. |
|
Boolean |
Obtains font settings for the selected text. |
|
Integer |
Makes the control invisible. |
|
Integer |
Modifies the data value for all input fields of the given input field name. |
|
String |
Gets the name of the selected input field. |
|
Integer |
Deletes the current occurrence of the selected input field. (That is, this function does not delete all input fields of the same name, only the current occurrence.) |
|
String |
Obtains the data in the specified input field. |
|
Integer |
Inserts the named input field at the insertion point. |
|
String |
Locates an input field. You can find any occurrence of an input field or an input field with a specific name. |
|
Integer |
Inserts the named file in the RichTextEdit control. The file can replace the current contents or be added at the insertion point. The file can be in rich text (RTF), ASCII, HTML, or Word (DOC) format. |
|
Integer |
Inserts the specified bitmap or picture file at the insertion point. The inserted WMF image file will fail to be saved in to a Word document, although it can be saved in to a rich text file. |
|
Boolean |
Checks whether the RichTextEdit control is in preview mode. |
|
Integer |
Returns the total number of lines in the document. |
|
Integer |
Returns the length of the current line. |
|
Integer |
Moves the control to a specified location. |
|
Integer |
Returns the number of pages in the document. |
|
Integer |
Inserts the contents of the clipboard (if any) at the insertion point in the control. |
|
Long |
Inserts a string at the insertion point when the string contains text in rich text format. You can specify whether to insert the string in the header or footer band, as well as the main body (detail band). |
|
Integer |
Pastes the content of the clipboard in a specified format into the current position in a RichTextEdit control |
|
Integer |
Returns the distance of the pointer from the left edge of the control. |
|
Integer |
Returns the distance of the pointer from the top of the control. |
|
Integer |
Returns the position of the insertion point or selected text in the control. |
|
Boolean |
Adds the specified event to the end of the event queue for the specified object |
|
Integer |
Flips between Preview of the document (where header/footer, page size, and so on, are shown) and normal RTE control display. |
|
Integer |
Prints the contents of the control. You can specify a range of pages and other settings. |
|
Integer |
Prints the contents of the control. You can specify whether a Print dialog box displays |
|
Integer |
Restores the edit that was previously undone in a RichTextEdit control. |
|
Integer |
Replaces selected text with given string. If no text has been selected, insert given string at cursor location. Limitation with the new control: In the new control, the text after replaced will take over the settings (such as font name, font size etc.) carried over by the given string. |
|
Integer |
Changes the size of the control. |
|
Integer |
Saves the current document in a file in either rich text (RTF), ASCII, HTML, PDF, or Word (DOC) format. When saving multi-byte characters to a TXT file, use the UTF8 encoding rather than the ANSI encoding. Limitation with the new control: In the new control, when saving to HTML, the image will lose some quality and will be saved as individual files separately from the document and the reference to the image file uses the absolute path. |
|
Integer |
Saves the contents in a RichTextEdit control as a PDF document. |
|
Integer |
Scrolls the RichTextEdit the specified direction the specified number of lines. |
|
Integer |
Scrolls forward to the next page in the RichTextEdit document. If the current page is the last page of a document instance, scrolls to the next instance. |
|
Long |
Scrolls the RichTextEdit to the next row and document instance. |
|
Long |
Scrolls back to the prior page in the RichTextEdit document. If the current page is the first page of a document instance, scrolls to the prior instance. |
|
Long |
Scrolls the RichTextEdit to the prior row and document instance. |
|
Long |
Causes the control to scroll to the specified row and document instance. |
|
Integer |
Returns the number of the character column just after the insertion point. |
|
Long |
Returns the length of the selected text. |
|
Long |
Returns the number of the line in which the insertion point is currently located within the document instance. |
|
Long |
Returns the number of the page in which the insertion point is currently located within the document instance. Limitation with the new control: For the new control, the SelectedPage function returns the number of the page which is being viewed (rather than where the insertion point is placed). |
|
Integer |
Returns the starting position of the selected text (if any) from the beginning of the line. |
|
String |
Returns a string containing the selected text from the control. |
|
Long |
Selects text in the RichTextEdit control. |
|
Integer |
Selects all text in the control. |
|
Integer |
Selects all text in the line in which the insertion point is currently located. |
|
Integer |
Selects the word in which the insertion point is currently located. |
|
Integer |
Sets the alignment for the selected paragraphs. |
|
Integer |
Sets focus to the RichTextEdit control. |
|
Integer |
Specifies the size of the paragraph's indentation, left margin, or right margin. |
|
Integer |
Specifies the control's position in the front-to-back order within the window. |
|
Integer |
Controls automatic redrawing of the control. |
|
Integer |
Sets the line spacing for the selected paragraphs. |
|
Integer |
Sets the color of the selected text. |
|
Integer |
Sets the font properties of the selected text. |
|
Integer |
Makes the RichTextEdit control visible. |
|
Integer |
Allows editing of the header and footer in the RichTextEdit document. |
|
TableAtInputPos | Long | Gets the ID of the table in the RichTextEdit control where the cursor locates. |
TableCanChangeAttr | Boolean | Provides information about whether the attributes of all the selected table cells can be altered. |
TableCellSelect | Boolean | Selects a table cell, a range of table cells, or a complete table in the RichTextEdit control. |
TableCellStart | Long | Returns the starting position of a table cell in the RichTextEdit control. |
TableColumnAtInputPos | Long | Gets the ID of the table column where the cursor locates. The column IDs start at 1 in every table in a RichTextEdit control and auto increments. |
TableDelete | Boolean | Deletes the specified table. |
TableDeleteColumn | Boolean | Deletes the specified column in the table. |
TableDeleteColumns | Boolean | Deletes the column that the cursor is currently located in, or the columns that are currently selected, in the table. |
TableDeleteRow | Boolean | Deletes the specified row in the table. |
TableDeleteRows | Boolean | Deletes the row that the cursor is currently located in, or the rows that are currently selected, in the table. |
TableFromSelection | Long | Gets the ID of the currently selected table. |
TableGetCellBackColor | Long | Gets the back color of a table cell in the RichTextEdit control. |
TableGetCellBorderColor | Long | Gets the border color of a table cell in the RichTextEdit control. |
TableGetCellBorderWidth | Integer | Gets the border width (in twips) of a table cell in the RichTextEdit control. |
TableGetCellHeader | Boolean | Checks whether a table cell is set as the table header in a RichTextEdit control. |
TableGetCellHeight | Integer | Gets the minimum height (width in twips) of a table cell in the RichTextEdit control. |
TableGetCellHorizontalExt | Integer | Gets the horizontal extension for a table cell in the RichTextEdit control. |
TableGetCellHorizontalPos | Integer | Gets the horizontal position for a table cell in the RichTextEdit control. |
TableGetCellLength | String | Gets the number of characters in a table cell in the RichTextEdit control. |
TableGetCellNumberFormat | String | Gets the number format used for a table cell in the RichTextEdit control. |
TableGetCellText | String | Gets the text content in a table cell in the RichTextEdit control. |
TableGetCellTextGap | Integer | Gets the gap (in twips) between the cell border and cell content in a table cell in the RichTextEdit control. |
TableGetCellTextType | Integer | Gets the type of content in a table cell in the RichTextEdit control. |
TableGetCellVertAlign | Integer | Gets the vertical align mode of the content in a table cell in the RichTextEdit control. |
TableGetColumnCount | Long | Gets the number of columns in a table in the RichTextEdit control. |
TableGetRowCount | Long | Gets the number of columns in a table in the RichTextEdit control. |
TableInsert | Long | Inserts a table in the RichTextEdit control. |
TableInsertColumn | Boolean | Inserts a column to the right or left of the current text input position in the table. |
TableInsertDialog | Long | Displays a built-in Insert Table dialog for users to insert a table by themselves. |
TableInsertRow | Boolean | Inserts one row above or below the current text input position in the table. |
TableInsertRows | Boolean | Inserts one or more rows above or below the current text input position in the table. |
TableMergeCells | Boolean | Merges all the selected cells in the table. |
TableNext | Integer | Use this function to enumerate all tables in the RichTextEdit control. Enumeration numbers are used instead of table IDs for the enumeration, because it is possible that the table IDs in the current RichTextEdit control do not reflect the sequence of tables in it. |
TablePropertiesDialog | Boolean | Displays the Properties dialog for the table in the RichTextEdit control. |
TableRowAtInputPos | Long | Gets the ID of the table row where the cursor locates. The row IDs start at 1 in every table in a RichTextEdit control and auto increments. |
TableSetCellBackColor | Boolean | Sets the back color (in twips) for a table cell in the RichTextEdit control. |
TableSetCellBorderColor | Boolean | Sets the back color (in twips) for a table cell in the RichTextEdit control. |
TableSetCellBorderWidth | Boolean | Sets the border width (in twips) for a table cell in the RichTextEdit control. |
TableSetCellHeader | Boolean | Sets the a table cell as the table header in a RichTextEdit control. |
TableSetCellHeight | Boolean | Sets the minimum height (width in twips) for a table cell in the RichTextEdit control. |
TableSetCellHorizontalExt | Boolean | Sets the horizontal extension (width in twips) for a table cell in the RichTextEdit control. |
TableSetCellHorizontalPos | Boolean | Sets the horizontal position (in twips) for a table cell in the RichTextEdit control. |
TableSetCellNumberFormat | Boolean | Sets the number format for a table cell in the RichTextEdit control. |
TableSetCellText | Boolean | Sets the text content in a table cell in the RichTextEdit control. |
TableSetCellTextGap | Boolean | Sets the gap (in twips) between the cell border and cell content in a table cell in the RichTextEdit control. |
TableSetCellTextType | Boolean | Sets the type of content in a table cell in the RichTextEdit control. |
TableSetCellVertAlign | Boolean | Sets the vertical align mode for the content in a table cell in the RichTextEdit control. |
TableSplitCells | Boolean | Splits all the selected cells in the table. However, only previously merged cells can be split. |
Long |
Inserts a target into the current position in a RichTextEdit control. The text inserted by the target will not be displayed in the control. |
|
Integer |
Deletes the target according to the specified ID in a RichTextEdit control. |
|
String |
Gets the name of the specified target in a RichTextEdit control. |
|
Integer |
Moves the cursor to a specified target in a RichTextEdit control. |
|
Long |
Gets the next target ID of the specified target. |
|
Integer |
Sets the name of the specified target in a RichTextEdit control. |
|
String |
Returns the entire text of the line in which the insertion point is currently located. |
|
Integer |
Inserts a text field into the current position in a RichTextEdit control. A text field contains a piece of text that can be tagged with specific data. |
|
String |
Gets the text of the specified text field in a RichTextEdit control. |
|
String |
Gets the type of the specified text field in a RichTextEdit control. |
|
Integer |
Gets the type data of the specified text field in a RichTextEdit control. |
|
Integer |
Sets the text of the text field in a RichTextEdit control. |
|
Integer |
Sets the type and type data of the text field in a RichTextEdit control. |
|
TextFrameGetBackColor | Long | Returns the background color of a text frame in the RichTextEdit control. The RichTextEdit control uses the Microsoft Windows operating environment red-green-blue (RGB) color scheme. |
TextFrameGetBorderWidth | Integer | Returns the width of a text frame's border line in the RichTextEdit control. |
TextFrameGetInternalMargin | Integer | Gets the distance (in twips) between a text frame's border line and the text. Twip is a fabricated word meaning twentieth of a point (pt). |
TextFrameGetMarkerLines | Boolean | Gets whether or not marker lines are visible for the text frame. Marker lines show a text frame's border if the text frame has no border line. |
TextFrameGetText | String | Returns the text of a text frame in the RichTextEdit control. |
TextFrameInsert | Integer | Inserts a new text frame anchored to a paragraph. The text flows around the text frame. |
TextFrameInsertAsChar | Integer | Inserts a new text frame, which is then handled as a single character in the text. |
TextFrameInsertFixed | Integer | Inserts a new text frame at a fixed geometrical position. The text flows around the text frame. |
TextFrameSelect | Boolean | Selects a text frame for further programming. Note that this function does not set the input focus to a text frame and does not show the selection frame with the resize handles. |
TextFrameSetBackColor | Boolean | Sets the background color of a text frame in the RichTextEdit control. The RichTextEdit control uses the Microsoft Windows operating environment red-green-blue (RGB) color scheme. The valid range for a RGB color is 0 to &HFFFFFF. The high byte of a number in this range equals 0; the lower 3 bytes, from least to most significant byte, determine the amount of red, green, and blue, respectively. The red, green, and blue components are each represented by a number between 0 and 255 (&HFF). |
TextFrameSetBorderWidth | Boolean | Sets the width of a text frame's border line in the RichTextEdit control. |
TextFrameSetInternalMargin | Boolean | Sets the distance (in twips) between a text frame's border line and the text. Twip is a fabricated word meaning twentieth of a point (pt). |
TextFrameSetMarkerLines | Boolean | Sets whether or not marker lines are visible for the text frame. Marker lines show a text frame's border if the text frame has no border line. |
TextFrameSetText | Boolean | Sets the text for a text frame. |
Integer |
Triggers a specified event in the control and executes the script for the event. |
|
Object |
Returns the type of the control. |
|
Integer |
Cancels the previous editing function performed in the control, if the editing function can be undone. (Some editing functions cannot be undone.) |