Page 1 of 1

Unable to obtain the interface of form modul!

Posted: Thu Jun 28, 2007 5:29 pm
by i499
HI,
first, yes I know and I found the same subject in the forms and I check the project code, but for me it looks OK, so what else should I check ?

I got the message out of the wizzard:
the unit:

Code: Select all

[color=blue]unit vng_catspez;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, Buttons, ExtCtrls,
  vng_globalvars,
  VNG_variablen,
  vng_help,
  vng_definitions, vng_datetime, siComp, Grids;

type
  TVNGcatspez = class(TForm)
    PanelBottom: TPanel;
    BitBtnHelp: TBitBtn;
    BitBtnSchliessen: TBitBtn;
    Panel1: TPanel;
...
[/color]
I compare in the project code:

Code: Select all

[color=blue]  VNG_SwissSailing in 'VNG_SwissSailing.pas' {VNG_SwissSailing},
[b]  vng_catspez in 'vng_catspez.pas' {VNG_catspez},[/b]
  vng_pickUpSpez in 'vng_pickUpSpez.pas' {VNG_PickUpSpez},
[/color]
For me it looks OK ?
I need some further information ... Thanks in advance

Markus

Posted: Fri Jun 29, 2007 2:00 am
by isiticov
If you see more carefully you will notice that your DPR file lists the form entry as vng_catspez in 'vng_catspez.pas' {VNG_catspez}, (please notice the underscore). But in your PAS unit the form name is without this underscore:
TVNGcatspez = class(TForm)