Method XbpPartHandler():setOwner() Foundation

Sets or returns the owner of the Xbase Part.

:setOwner( [<oXbp>] ) --> oldOwner
<oXbp> optionally specifies an Xbase Part as the owner of the object executing the method.

This method returns the previous owner (Xbase Part) that was current before the method was called.


The :setOwner() method returns the owner of the Xbase Part or sets a new owner. The owner is also an Xbase Part. In most cases it is the same as the parent. The owner defines a logical relationship between two Xbase Parts. For example, the correlation between a set of radio buttons and their owner can be defined.


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.