Declaration

EClassNotFound = class(EFilerError);

The EClassNotFound exception is raised when a component exists on a form, but it has been deleted from the type declaration. For example, this form type declaration includes two panel components:

type

TForm1 = class(TForm) Panel1: TPanel; SpeedButton1: TSpeedButton; SpeedButton2: TSpeedButton; Panel2: TPanel; private

  • Private declarations } public
  • Public declarations } end;

If you compile the application, then delete Panel2, for example, from the TForml type declaration, the next time you attempt to run the application, the class not found exception is raised.

0 0

Post a comment