Hallo Forum
hab mal wieder etwas seltsames. In meinem Project habe ich mehrere Formulare. In der Projektdatei habe ich alle Application.CreateForm Zeilen bis auf das Hauptformular entfernt. Wenn ich nun ein Formular benötige, rufe ich Application.CreateForm auf und mache das Formular mit Show oder auch ShowModal sichtbar.
Das funktioniert auch bei allen, bis auf ein Formular. Das wird schon beim Aufruf von Application.CreateForm sichtbar noch vor dem ShowModal. Und ShowModal bringt dann die Exception 'Ein bereits sichtbares Formular kann nicht Modal angezeigt werden'.
Warum zum Geier wird das schon beim CreateForm angezeigt?
Hat da jemand eine Idee?