Autor Beitrag
N8Falter74
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 53

Win XP
D7 Prof
BeitragVerfasst: Fr 02.12.05 10:04 
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?
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Fr 02.12.05 10:19 
Stell doch mal die Eigenschaft "Visible" der Form auf False.
N8Falter74 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 53

Win XP
D7 Prof
BeitragVerfasst: Fr 02.12.05 10:25 
tnx, das wars. Peinlich - ein glück ist heute Freitag.

grüße