Autor Beitrag
Bääääär
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 117



BeitragVerfasst: Do 12.04.07 14:14 
Ich habe ein problem, zu dem ich (wie immer) keine Lösung finde.

Beim Laden meines Projects, kommt die Fehlermeldung: Formular, das sich selbst als Vorfahr-Formular hat, kann nicht geladen werden.

Hier die Form1.dfm:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
object Form1: TForm1
  Left = 0
  Top = 0
  BorderStyle = bsNone
  Caption = 'form1'
  ClientHeight = 600
  ClientWidth = 800
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  OnCreate = FormCreate
  OnDblClick = FormDblClick
  PixelsPerInch = 96
  TextHeight = 13
end


Aus unit1:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
    {...}
type
  TForm1 = class(TForm)
    procedure FormDblClick(Sender: TObject);
    procedure FormCreate(Sender: TObject);
    procedure FormDestroy(Sender: TObject);
  private
    {...}


wo steht denn das, das form1 von form1 abgeleitet ist?!?
HelgeLange
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 735
Erhaltene Danke: 6

Windows 7
Delphi7 - Delphi XE
BeitragVerfasst: Do 12.04.07 16:25 
also grad mal in meinen DFMs gestöbert, sieht normal aus

_________________
"Ich bin bekannt für meine Ironie. Aber auf den Gedanken, im Hafen von New York eine Freiheitsstatue zu errichten, wäre selbst ich nicht gekommen." - George Bernhard Shaw
Dunkel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 682

Mac OS X Snow Leopard
Xcode 3.1
BeitragVerfasst: Do 12.04.07 18:43 
Wie sieht denn die Projektdatei (*.dpr) aus?

_________________
Ich streite einsam mich mit dieser Oberflächenwelt
Gutes sei ein löblich Brot von dem ich zehre - bis zum Tod [Das Ich - Im Ich]
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Do 12.04.07 18:48 
Für so etwas ist die IDE zuständig. Da sind zu viele Dateien dran beteiligt. DFM, PAS, DPR und noch mehr. Mache das über die Objeltablage.

_________________
Gruß
Hansa
Bääääär Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 117



BeitragVerfasst: Mi 18.04.07 18:22 
OK, ich habs:

Das Problem bestand im Namen der zuständigen Unit: "form" als Unitname geht wohl nicht. Ich habe die Unit umbenannt, seitdem macht Delphi keine Probleme mehr.