Methods for cRichEdit
View method list in hierarchical order.
| Name | Type | Description | Defining Class |
|---|---|---|---|
| Activate | Procedure | Gives an object the focus (and adds it to the focus tree) | cUIObject |
| Activate_Scope | Procedure | Activates objects that are separate tools to the application The Activate_scope message is used to activate objects that are separate tools to the application. | cUIObject |
| Add_Focus | Procedure | Adds the object into the focus tree at the Next_Level of the hoParent in the focus tree | cUIObject |
| Adjust_Logicals | Procedure | Sets the logical coordinates for size and location to the best approximations of the actual physical coordinates of the object | DfBaseWindow |
| AppendText | Procedure | Appends text to end of text in control Adds text to the end of the text in the control, including RTF stream if the text in the control is an RTF stream. | DfBaseRichEdit |
| AppendTextLn | Procedure | Appends text to end of text in control, followed by a line feed | cRichEdit |
| Beginning_of_Data | Procedure | Places the cursor at beginning of the text in control Places the cursor at the beginning of the text in the control. | DfBaseRichEdit |
| Beginning_of_Line | Procedure | Places the cursor at beginning of current line Places the cursor at the beginning of the current line (the line the cursor is currently in) in the control. | DfBaseRichEdit |
| Bell | Procedure | Rings the PC bell | cUIObject |
| Cancel | Procedure | Used to terminate the current level of a start_ui or ui_accept This message is used to terminate the current level of a start_ui or ui_accept with a return value of msg_cancel. | cUIObject |
| CanCopy | Function | Determines whether a Copy operation can be successfully completed Determines whether a Copy operation can be successfully completed. | cUIObject |
| CanCut | Function | Determines whether a Cut operation can be successfully completed Determines whether a Cut operation can be successfully completed. | cUIObject |
| CanDelete | Function | Determines whether a Delete operation can be successfully completed Determines whether a Delete operation can be successfully completed. | cUIObject |
| CanPaste | Function | Determines whether a Paste operation can be successfully completed Determines whether a Paste operation can be successfully completed. | cUIObject |
| CanSelect | Function | Determines whether a Select operation can be successfully completed Determines whether a Select operation can be successfully completed. | cUIObject |
| CanUndo | Function | Determines whether n Undooperation can be successfully completed Determines whether an Undo operation can be successfully completed. | cUIObject |
| CharCount | Function | Returns length of RTF stream in the control Returns the length of the RTF stream in the control. | DfBaseRichEdit |
| ChildByIndex | Function | Can be used to iterate the direct children of an object ChildByIndex is a function that can be used to iterate the direct children of an object. | cObject |
| ClassSuperClass | Function | Returns the superclass of the passed class This returns the superclass of the passed class. | cObject |
| ClearUndoBuffer | Procedure | Clears undo buffer Clears the undo buffer of the control. | DfBaseRichEdit |
| Confirm | Function | Pops up a "Yes/No" confirmation The Confirm function can be used to pop up a "Yes/No" confirmation. | cUIObject |
| Copy | Procedure | Copies the selected text to the Clipboard Copies the selected text to the Clipboard. | DfBaseRichEdit |
| Create | Function | Creates an object based on the passed Class Id The Create function is used to dynamically create objects. | cObject |
| CreateNamed | Function | Creates an object based on the passed Class Id and assigns it a name Name based on a passed name Creates an object based on the passed Class Id and assigns it a name Name based on a passed name. | cObject |
| Cut | Procedure | Copies the selected text to the Clipboard and deletes it from the control Copies the selected text to the Clipboard and deletes it from the control. | DfBaseRichEdit |
| Data_Loss_Confirmation | Function | Pops up a "Yes/No" confirmation for data loss | cUIObject |
| Deactivate | Procedure | Removes the object from the focus tree The Deactivate message removes the object from the focus tree and, if successful, sends the Deactivating message. | cUIObject |
| Default_Key | Procedure | Used in On_key command to restore standard accelerator for an object The Default_Key message is only used as part of the On_Key command. | cUIObject |
| Delete | Procedure | Deletes the selected text from the control Deletes the selected text from the control. | DfBaseRichEdit |
| Delete_Confirmation | Function | Pops up a "Yes/No" confirmation for a delete | cUIObject |
| Delete_Data | Procedure | Deletes all data in control Deletes all data in the control. | DfBaseRichEdit |
| Destroy | Procedure | Destroys the object that receives the message and any child objects of that object The Destroy message destroys the object that receives the message. | cObject |
| DialogToGui | Function | This is used to convert dialog units to gui units. | DfBaseWindow |
| End_of_Data | Procedure | Places the cursor at end of the text in control Places the cursor at the end of the text in the control. | DfBaseRichEdit |
| End_of_Line | Procedure | Places the cursor at end of current line Places the cursor at the end of the current line (the line the cursor is currently in) in the control. | DfBaseRichEdit |
| Enumerate_Fonts | Procedure | Provides a mechanism to obtain a list of all fonts | DfBaseWindow |
| Exit_Application | Procedure | Starts the process of closing an application The Exit_Application message is used to close the program. | cObject |
| Exit_Loss_Confirmation | Function | Pops up a "Yes/No" confirmation for exit loss Prompts: Changes Exist. | cUIObject |
| External_Class_Name | Procedure Set | DfBaseWindow | |
| External_Message | Procedure Set | DfBaseWindow | |
| FindText | Function | Searches for specified text in control Searches for specified text in the control using the specified option(s). | DfBaseRichEdit |
| FirstCharInLinePos | Function | Returns position of first character in a line Returns zero-based position of first character in line number iLine from control. | DfBaseRichEdit |
| FirstVisibleLine | Function | Returns number of first visible line Returns zero-based number of the first visible line in the control. | DfBaseRichEdit |
| GuiClientSize | Function | This returns an object's client area size as a folded integer value This returns an object's client area size as a folded value. | DfBaseWindow |
| GuiToDialog | Function | This is used to convert gui units to dialog units. | DfBaseWindow |
| GuiWindowSize | Function | This returns an object's outer window bounding size as a folded value This returns an object's window bounding size as a folded value. | DfBaseWindow |
| Help | Procedure | Overridden in the help_system to activate context-sensitive help By default, this message does nothing. | cUIObject |
| HideSelection | Procedure | Toggles selection highlighting on or off Toggles selection highlighting on or off. | DfBaseRichEdit |
| IsClassOfClass | Function | Determines whether the target class is part of the searched class's hierarchy | cObject |
| IsObjectOfClass | Function | Determines whether the passed class is part of the object's class hierarchy This returns True if the passed class is part of the object's class hierarchy. | cObject |
| Item | Procedure Set | cUIObject | |
| LastErrorCode | Function | Returns error code for last operation Returns the error code for the last operation. | DfBaseRichEdit |
| Line | Function | Returns specified line of text Returns line of text with zero-based number iLine from control. | DfBaseRichEdit |
| Line_Delete_Confirmation | Function | Pops up a "Yes/No" confirmation for a line delete | cUIObject |
| Line_Save_Confirmation | Function | Pops up a "Yes/No" confirmation for a line save | cUIObject |
| LineFromChar | Function | Returns number of line that contains specified character position or current line Returns zero-based number of the line that contains specified character position (iCharPos) or current line. | DfBaseRichEdit |
| LineLength | Function | Returns number of characters in line Returns the number of characters in line number iLine. | DfBaseRichEdit |
| Next | Procedure | Moves the focus to the next object in the tab order when the Tab key is pressed Next moves the focus to the next object in the tab order when the Tab key is pressed. | cUIObject |
| Next_Object_Id | Function | Called by the switch message to determine the object_id of the next object to go to in the focus tree | cUIObject |
| No_Confirmation | Function | Used to cancel a confirmation message The No_Confirmation function is used to cancel a confirmation message. | cUIObject |
| None | Procedure | Does nothing - used by on_key and commands to stop a key assignment This message is always used to make a on_key assignment or an add_item message do nothing. | cUIObject |
| ObjectClass | Function | Returns the integer class ID assigned to the class this object is based on Returns the integer class ID assigned to the class this object is based on. | cObject |
| Ok | Procedure | Used on items and accelerator key definitions to terminate the current level of start_ui or ui_accept | cUIObject |
| Page_Object | Procedure | Adds or removes an object from the focus tree Adds or removes an object from the focus tree. | cUIObject |
| Paste | Procedure | Pastes the contents of the Windows clipboard into the control Pastes the entire text contents of the Windows clipboard into the control. | DfBaseRichEdit |
| Popup | Procedure | Activates a modal dialog Popup activates a modal dialog. | cUIObject |
| Previous | Procedure | Moves the focus to the previous object in the tab order when the Shift+Tab key is pressed Previous moves the focus to the previous object in the tab order when the Shift+Tab key is pressed. | cUIObject |
| Prior_Object_Id | Function | Called by the switch_back message to determine the object_id of the previous object to go to in the focus tree | cUIObject |
| Read | Procedure | Reads RTF document and displays it in the control Reads an RTF document and displays it in the control. | DfBaseRichEdit |
| Redo | Procedure | Redoes the last operation This property has no effect if control is not paged. | DfBaseRichEdit |
| RedoType | Function | Returns type of redo operation at top of redo queue Returns the type of redo operation at the top of the redo queue. | DfBaseRichEdit |
| Release_Mouse_Capture | Procedure | Restores normal mouse capture | DfBaseUIWindow |
| ReplaceAll | Function | Replaces all occurences of sTarget with sReplacement and returns the number of replacements | DfBaseRichEdit |
| ReplaceSel | Procedure | Replaces selected text with specified text Replaces selected text with sText. | DfBaseRichEdit |
| Request_Destroy_Object | Procedure | Use the Destroy method instead This method is used to destroy an object and all of its children. | cObject |
| Save_Confirmation | Function | Pops up a "Yes/No" confirmation for a save The Save_Confirmation function pops up a "Yes/No" confirmation for a save. | cUIObject |
| Scroll | Procedure | Scrolls up or down the control using specified scroll mode Scrolls up or down the control using the specified eScrollMode. | DfBaseRichEdit |
| ScrollCaret | Procedure | Scrolls caret into view Scrolls caret into view. | DfBaseRichEdit |
| ScrollLines | Procedure | Scrolls control vertically for specified number of lines Scrolls control vertically for iLines number of lines. | DfBaseRichEdit |
| Select_All | Procedure | Selects entire contents of control Selects entire contents of control. | DfBaseRichEdit |
| SelEnd | Function | Returns end of selection Returns ending position of selection. | DfBaseRichEdit |
| SelStart | Function | Returns beginning of selection Returns beginning position of selection. | DfBaseRichEdit |
| SelText | Function | Returns selected text Returns the selected text of the control. | DfBaseRichEdit |
| SetSel | Procedure | Selects text in given position range Selects text in control in given position range. | DfBaseRichEdit |
| Stop_UI | Procedure | Terminates a popup_modal message and returns execution to the next line after the one on which this message was sent | cUIObject |
| Switch | Procedure | Moves the focus to the object returned by the next_object_id function | cUIObject |
| Switch_Back | Procedure | Moves the focus to the object returned by the prior_object_id function | cUIObject |
| Switch_Next_Group | Procedure | Moves the focus to the first object in the next_level of the next_object of the prior_level of this object | cUIObject |
| Switch_Next_Scope | Procedure | Moves the focus to the scope focus of the next scope The Switch_Next_Scope message moves the focus to the scope focus of the next scope. | cUIObject |
| Switch_Prior_Group | Procedure | Moves the focus to the last object in the prior_level of the prior_object of the next_level of this object | cUIObject |
| Switch_Prior_Scope | Procedure | Moves the focus to the scope focus of the prior_scope The Switch_Prior_Scope message moves the focus to the scope focus of the prior_scope. | cUIObject |
| TextRange | Function | Returns text in given position range Returns the text between the starting and ending positions (iPositionStart and iPositionEnd). | DfBaseRichEdit |
| ToggleBold | Procedure | Toggles selected text between bold and normal text Toggles selected text between bold and normal text. | cRichEdit |
| ToggleItalics | Procedure | Toggles selected text between italicized and normal text Toggles selected text between italicized and normal text. | cRichEdit |
| ToggleUnderline | Procedure | Toggles selected text between underlined and normal text Toggles selected text between underlined and normal text. | cRichEdit |
| Undo | Procedure | Undoes the last operation This property has no effect if control is not paged. | DfBaseRichEdit |
| UndoType | Function | Returns type of undo operation at top of undo queue Returns the type of undo operation at the top of the undo queue. | DfBaseRichEdit |
| Windows_Message | Procedure | Sends a message to the Windows message queue Use of this method requires Windows API knowledge about the message being sent and the control that will process the message. | DfBaseWindow |
| Write | Procedure | Writes RTF stream content of control to file Writes the entire content of control as an RTF stream to file specified by sFileName. | DfBaseRichEdit |