.newButton() Doucumentation Error?

I believe the doucmentation for the SolutionModel in Developer and the Wiki to be incorrect for .newButton():

var button = solutionModel.newButton(‘myButton’, 10, 10, 100, 30, method);

and should be of the form:

var button = oForm.newButton(‘myButton’, 10, 10, 100, 30, method);

That is, the button should be an object of the form, not the SolutionModel.

The Solution Explorer view in Developer supports this observation.
newButton is indeed a child function of the form object (and makes sense it does).

ROCLASI:
(and makes sense it does)

Well said Master Yoda ;)

Is fixed in the docs.

Thanks,
Rob