If the IDE cannot find a file that was loaded in previous session, it issues a warning that it cannot find the file, which is correct.
But if the file is a *.pbf file, the IDE creates a new form definition and displays the filename of the missing file in the tab.
If you then select Form>Switch Code/Design View a "New File" tab is created !!
If you then click on the tab of the *.pbf file, the IDE switches to code view.
If you then try and switch back to the form display you get an IMA.
Strange behaviour if file not found
Re: Strange behaviour if file not found
Along the same lines -- if a file is really gone, teh IDE should offer to search for it; browse for it; or remove it from recently opened... I foudn it very frustrating if I had a file open; closed PB, deleted the file; re-launching would try to re-open it every time...