I am calling a procedure to display a form(OKCancelDef) from my main code. If I click on OK I want to complete the execution of the main code accepting values from the form fields and If I click on cancel I want the main code to exit. What should I set the ok_callback and cancel_callback to ?? thanks, Sriram