Method XbpSpinButton():setData() Foundation

Sets the value of the edit buffer of the spinbutton.

Syntax
:setData( [<nValue>] ) --> lSuccess
Parameters
<nValue>
<nValue> is an integer which is to be transferred into the edit buffer of the spinbutton. If a data code block is contained in the instance variable :dataLink, <nValue> is optional.
Return

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

Description

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

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.