Page 1 of 1

Unable to obtain the interface of form module

Posted: Tue Mar 13, 2007 2:49 pm
by DavidD
I have one form that gives the above error when attempting to use the Wizard. The beginning of the file is:

unit StopsReportOptions;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, MiscUtils;
type
TfrmStopsReportOptions = class(TForm)
cbShipAddress: TCheckBox;
cbCustomerNotes: TCheckBox;
btnOK: TBitBtn;
btnCancel: TBitBtn;
gbDaysToPrint: TGroupBox;
cbMonday: TCheckBox;
cbTuesday: TCheckBox;
cbWednesday: TCheckBox;
cbThursday: TCheckBox;
cbFriday: TCheckBox;
cbSaturday: TCheckBox;
cbSunday: TCheckBox;
Label1: TLabel;
procedure btnOKClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frmStopsReportOptions: TfrmStopsReportOptions;

implementation
{$R *.dfm}
uses StopScheduleRpt, WaitForm;

Posted: Tue Mar 13, 2007 3:05 pm
by isiticov
Please check your project's source unit to correctly list entry for this form. In most cases this caused by missing {FormName} after your unit name.

Posted: Tue Mar 13, 2007 7:20 pm
by DavidD
Splendid - actually it was mis-named in the project source.