Follow up to Jamie's message. (Mostly stream-of-consciousness as I explore the Project and Lazarus structures).
So I went to look at the .lpi file (using Notepad++):
<Units>
<Unit>
<Filename Value="GraphicsWorkbench.lpr"/>
<IsPartOfProject Value="True"/>
</Unit>
<Unit>
<Filename Value="..\_Components\SDLModelApp\modelform.pas"/>
<IsPartOfProject Value="True"/>
<ComponentName Value="SDLModelForm"/>
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>
<UnitName Value="ModelForm"/>
</Unit>
</Units>
The filename associated with SDLModelApp wasn't in the Components directory of my project, then I remembered ".." = parent directory. And that would be parent directory of the directory where the project is (not where the published zip file is). So for:
<DestinationDirectory Value="F:\Software Development\Lazarus Projects\GRAPHICS WORKBENCH\Published For Export"/>
this would be parent directory of F:\Software Development\Lazarus Projects\GRAPHICS WORKBENCH
or
F:\Software Development\Lazarus Projects
Ahah! There is a components folder there, and there
is a folder called SDLModelApp which contains
mirabile dictu files called modelform.lfm and modelform.pas. Even more
mirabile, their last modified time was today, whereas the files in Graphics Workbench were last modified almost a week ago. This meant that all of the work I thought I had been doing was on the files in SDLModelApp, rather than Graphics Workbench.
(Which is, of course, exactly what you said!).
Now - believing that Lazarus, while it might take umbrage at what I was about to do, lacked the ability to respond in any meaningfully destructive way, I tried to accomplish what I wanted, which was to get the file from the wrong location, containing all the right data, into the right location. Rename modelform.* to OLD_modelform.*, and copy in the files from the 'wrong' location.
No smoke so far.
Now I need to change the .lps file to point to the 'right' location, which involved deleting the extended pathname many times.
Feeling somewhat like a neurosurgical resident on his first day - with a blinding hangover, I tried restarting Lazarus, using the .lpr file...
It opens properly, and I see the write captions, but when I compile, it still comes back Page0, et al.
Then, I went back into the 'wrong' directory, and renamed modelform.* to WRONG_modelform.* No way the IDE or the compiler will find those!
Eventually I got the write form file associated with the project. Lesson to myself - learn how the IDE goes after all the components of a project, and see how to discover where this information is stored.
Thanks, again, Jamie!