I'm embedding a simple calculator into one of my existing forms so that I can do calculations on the fly and transfer the results. I've been using a textbox for data entry and results display. I had the front end working the way I wanted by using the OnCancelClose event to keep the form from closing, but after I started to flesh out the arithmetic routines that event quit working and I'm back to square one.
What am I doing wrong?
Thanks,
J Leavitt
Make sure you're returning T or NIL from that event handler depending on whether you want to allow it to close.
Thank you.
I looked at the function call saved in my ODCL file and discovered that I had the wrong control name specified. Once I unchecked and rechecked the CancelClose event for the form it reset to the proper one. I thought that I had checked this several times, but I guess I kept missing the error.
Oh well, it works now. Thanks for the help.
J Leavitt