Happy New year to all.
I am invoking dialog B (diagnosis) from dialog A (consultation) by clicking on a "Ok" button. I have a "Cancel" button on dialog B for "what if analysis", so that when some one clicks on it, simply to send dialog B to the background(without any other effect) behind dialog A for latter view or comparison. I am using the following clause, but the problem is this re-initializes dialog A to the default values. Is there any clause just simply to send dialog B to the background without affecting dialog A . Thanks in advance.
Code: Select all
predicates onCancelClick : button::clickResponder. clauses onCancelClick(_Source) = button::defaultAction:- _=consultation::display(getParent()).