I have a form with the gdviewer control on it. above this is a toolbar with a Goto Page button. Clicking on the button brings up a modal dialog where the user can select the page to go to. On the unload of this form, i call DisplayFrame() to change page on the gdviewer control. this causes an "Invalid procedure call or argument" however and the app crashes.
This program was written in VFP9, however i've tried the same in .net where i disabled the form containing the control prior to calling the *modaless* goto page dialog.
I've stepped through my code and tried to access different methods or properties of the gdviewer control while it is disabled and gotten the same results.
So, the problem seems to be that when windows disabled the control (via a modal form in vfp, or disable form in .net) the control crashes when a property or method is called.
Can this be fixed??
