Method XbpMLE():insert() Foundation

Inserts a character string into the edit buffer.

:insert( [<nPos>], <cString> ) --> lSuccess
<nPos> is a numeric value specifying the position in the edit buffer where the character string <cString> is inserted. The default value is the current position of the cursor in the edit buffer.
<cString> is the character string that is inserted at the position <nPos>.

This method returns the value .T. (true) if the characters could be inserted into the edit buffer, otherwise .F. (false) is returned.


The method :insert() allows the edit buffer of the XbpMLE object to be directly manipulated and the specified characters to be inserted without using the clipboard. This method deletes any currently selected characters before the characters contained in <cString> are inserted into the edit buffer.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.