Method XbpMLE():setData() Foundation

Sets the value of the character string in the edit buffer.

Syntax
:setData( [<cBuffer>] ) --> lSuccess
Parameters
<cBuffer>
<cBuffer> is a character string to transfer into the edit buffer for editing. If a data code block is contained in the instance variable :dataLink, <cBuffer> is optional.
Return

This method returns the value .T. (true) if the character string was transferred into the edit buffer, otherwise .F. (false) is returned.

Description

The method :setData() copies a character string into the edit buffer of the XbpMLE object where it can be edited. The <cBuffer>parameter does not need to be specified if a data code block is contained in the :dataLink instance variable. In this case, the data code block is evaluated and its return value is used as <cBuffer> (see DataRef()).

On Windows 9x platforms including Windows 98 and ME, the text buffer that can be maintained by an XbpMLE object is limited to 64K.

Feedback

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.