Skip to content

Methods for cDbTextEditDS_

View method list in alphabetical order.

Name Type Description Defining Class
Default_Prompt Procedure cDbTextEditDS_
Help_Datafile Function Returns the filename and fieldname in file.field format that contains help for the current item cDbTextEditDS_
Prompt_Description Function cDbTextEditDS_
Validate_Items Function Checks the number of characters in the control (using CharCount) against the size of the column in the table. cDbTextEditDS_
Validate_Prompt Function cDbTextEditDS_

Inherited Methods from cDbTextEdit_

Name Type Description Defining Class
Prompt Procedure Cancelled in this class The Prompt procedure is cancelled in this class. cDbTextEdit_
Request_Clear Procedure Clears text area, and changes focus to first object or item in panel if auto_top_panel_state is true cDbTextEdit_
Request_Clear_All Procedure Clears text area, and changes focus to first object or item in panel if auto_top_panel_state is true cDbTextEdit_
Request_Delete Procedure Deletes the current record of this object's server, if any Request_delete deletes the current record of this object's server, if any. cDbTextEdit_
Request_Find Procedure Finds record using specified mode by requesting item_find from server, if any Request_find finds record using specified mode by requesting item_find from server, if any. cDbTextEdit_
Request_Save Procedure Saves changes to the current record of this object's server, if any Request_save saves changes to the current record of this object's server, if any. cDbTextEdit_
Request_Save_No_Clear Procedure Saves changes to the current record of this object's server, if any, and does not clear the buffer cDbTextEdit_
Request_Superfind Procedure Superfinds record using specified mode by requesting item_superfind from server, if any Request_superfind superfinds record using specified mode by requesting item_superfind from server, if any. cDbTextEdit_
Validate_Items Function Returns 0 by default, to indicate that entered text is valid Validate_items returns 0 by default, to indicate that entered text is valid. cDbTextEdit_
Zoom Procedure Cancelled in this class The Zoom procedure is cancelled in this class. cDbTextEdit_

Inherited Methods from cTextEdit

Name Type Description Defining Class
AppendTextLn Procedure Appends text to end of text in control, followed by a line feed cTextEdit

Inherited Methods from DFBaseTextEdit

Name Type Description Defining Class
AppendText Procedure Appends text to end of text in control Adds text to the end of the text in the control. DFBaseTextEdit
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. DFBaseTextEdit
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. DFBaseTextEdit
CharCount Function Returns the number of characters in the control Returns the number of characters in the control. DFBaseTextEdit
ClearUndoBuffer Procedure Clears undo buffer Clears the undo buffer of the control. DFBaseTextEdit
Copy Procedure Copies the selected text to the Clipboard Copies the selected text to the Clipboard. DFBaseTextEdit
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. DFBaseTextEdit
Delete Procedure Deletes the selected text from the control Deletes the selected text from the control. DFBaseTextEdit
Delete_Data Procedure Deletes all data in control Deletes all data in the control. DFBaseTextEdit
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. DFBaseTextEdit
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. DFBaseTextEdit
FindText Function Searches for specified text in control Searches for specified text in the control using the specified option(s). DFBaseTextEdit
FirstCharInLinePos Function Returns position of first character in a line Returns zero-based position of first character in line number iLine from control. DFBaseTextEdit
FirstVisibleLine Function Returns number of first visible line Returns zero-based number of the first visible line in the control. DFBaseTextEdit
HideSelection Procedure Toggles selection highlighting on or off Toggles selection highlighting on or off. DFBaseTextEdit
LastErrorCode Function Returns error code for last operation Returns the error code for the last operation. DFBaseTextEdit
Line Function Returns specified line of text Returns line with zero-based number iLine from control. DFBaseTextEdit
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. DFBaseTextEdit
LineLength Function Returns number of characters in line Returns the number of characters in line number iLine. DFBaseTextEdit
Paste Procedure Pastes the contents of the Windows clipboard into the control Pastes the entire text contents of the Windows clipboard into the control. DFBaseTextEdit
Read Procedure Reads text file and displays it in the control Reads a text file and displays it in the control. DFBaseTextEdit
Redo Procedure Redoes the last operation This property has no effect if control is not paged. DFBaseTextEdit
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. DFBaseTextEdit
ReplaceAll Function Replaces all occurences of sTarget with sReplacement and returns the number of replacements DFBaseTextEdit
ReplaceSel Procedure Replaces selected text with specified text Replaces selected text with sText. DFBaseTextEdit
Scroll Procedure Scrolls up or down the control using specified scroll mode Scrolls up or down the control using the specified eScrollMode. DFBaseTextEdit
ScrollCaret Procedure Scrolls caret into view Scrolls caret into view. DFBaseTextEdit
ScrollLines Procedure Scrolls control vertically for specified number of lines Scrolls control vertically for iLines number of lines. DFBaseTextEdit
Select_All Procedure Selects entire contents of control Selects entire contents of control. DFBaseTextEdit
SelEnd Function Returns end of selection Returns ending position of selection. DFBaseTextEdit
SelStart Function Returns beginning position of selection Returns beginning position of selection. DFBaseTextEdit
SelText Function Returns selected text Returns the selected text of the control. DFBaseTextEdit
SetSel Procedure Selects text in given position range Selects text in control in given position range. DFBaseTextEdit
TextRange Function Returns text in given position range Returns the text between the starting and ending positions (iPositionStart and iPositionEnd). DFBaseTextEdit
Undo Procedure Undoes the last operation This property has no effect if control is not paged. DFBaseTextEdit
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. DFBaseTextEdit
Write Procedure Writes text file content of control to file Writes the entire content of control to file specified by sFileName. DFBaseTextEdit

Inherited Methods from DfBaseUIWindow

Name Type Description Defining Class
Release_Mouse_Capture Procedure Restores normal mouse capture DfBaseUIWindow

Inherited Methods from DfBaseWindow

Name Type Description Defining Class
Adjust_Logicals Procedure Sets the logical coordinates for size and location to the best approximations of the actual physical coordinates of the object DfBaseWindow
DialogToGui Function This is used to convert dialog units to gui units. DfBaseWindow
Enumerate_Fonts Procedure Provides a mechanism to obtain a list of all fonts DfBaseWindow
External_Class_Name Procedure Set DfBaseWindow
External_Message Procedure Set DfBaseWindow
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
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

Inherited Methods from cUIObject

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
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
Confirm Function Pops up a "Yes/No" confirmation The Confirm function can be used to pop up a "Yes/No" confirmation. cUIObject
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_Confirmation Function Pops up a "Yes/No" confirmation for a delete cUIObject
Exit_Loss_Confirmation Function Pops up a "Yes/No" confirmation for exit loss Prompts: Changes Exist. cUIObject
Help Procedure Overridden in the help_system to activate context-sensitive help By default, this message does nothing. cUIObject
Item Procedure Set cUIObject
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
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
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
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
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
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

Inherited Methods from cObject

Name Type Description Defining Class
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
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
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
Exit_Application Procedure Starts the process of closing an application The Exit_Application message is used to close the program. cObject
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
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
Request_Destroy_Object Procedure Use the Destroy method instead This method is used to destroy an object and all of its children. cObject