From a method created a form using solution model. In this form there are two buttons (accept and cancel) and each has an associated method.
The method of the OK button should return a value and close the form.The problem is that it doesn´t return the value.
I tried to make the return before and after closing the form and never get the return value.
You say the OK button has a method that returns a value. Where should it return to ?
Is it that you want to prevent a form to close but when someone hits the OK then it’s allowed ? Because that requires the logic to be in the onHide event method.
Anyway, can you explain a little more of what you are trying to do.