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.
var button = solutionModel.newButton('myButton', 10, 10, 100, 30, method);
var button = oForm.newButton('myButton', 10, 10, 100, 30, method);
ROCLASI wrote:(and makes sense it does)
Users browsing this forum: No registered users and 10 guests