Thanks for your persistence in trying to help, Benny! :-)
Unfortunately, although I have tried your suggestion again, this didn't get me out of trouble as it duplicates exactly what I tried before in my response to the post from alpine, i.e. it gives the following error messages:
Compile Project, Target: WPSMV2.exe: Exit code 1, Errors: 2
WPSMV2.lpr(24,26) Error: Identifier not found "TfrmsbClrDlg"
WPSMV2.lpr(24,40) Error: Identifier not found "frmsbClrDlg"
I think I'll try to manually create the form and see how that goes, but if you (or other forum members) can suggest something else, I'd be grateful!
The code has worked OK before, so I've probably lost something important along the way when I started a new project in a clean directory. But, I've no ide what! :-(
Steve