![]() |
Problem mit Einfügen weiterer Formulare - ein Bug?
Hallo, Allerseits.
Ich kann machen, was ich will - es tritt immer das gleiche Problem auf: Um sicherzustellen, dass keine doppelten Bezeichner verwendet werden, habe ich einen Ordner "XYZ" angelegt und dann ein neues WinForms-Projekt gestartet. Das erste Formular habe ich in "TFormA" umbenannt und in uFormA gespeichert, das Projekt unter "zzz" gespeichert. - Noch kein Problem. Mit Datei/Neu/weitere/WindowsForm ein weiteres Formular angelegt, umbenannt in TFormB und in uFormB gespeichert. - Noch immer kein Problem. Wie oben ein drittes Formular angelegt, umbenannt in TFormC und in uFormC gespeichert => Probleme!!! Beim Speichern von uFormC Fehlermeldung: Das Projekt enthält bereits ein Modul bzw. ein Formular mit der Bezeichnung uFormC In der Projekt-Datei
Delphi-Quellcode:
Hier: {$R 'WinForm.resources' 'WinForm.resx'} sollte doch wohl {$R 'uFormC.TFormC.resources' 'uFormC.resx'} stehen
program zzz;
{%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.dll'} {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.Data.dll'} {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.Drawing.dll'} {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.Windows.Forms.dll'} {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.XML.dll'} {$R 'uFormA.TFormA.resources' 'uFormA.resx'} {$R 'uFormB.TFormB.resources' 'uFormB.resx'} {$R 'WinForm.resources' 'WinForm.resx'} uses System.Reflection, System.Runtime.CompilerServices, System.Windows.Forms, uFormA in 'uFormA.pas' {uFormA.TFormA: System.Windows.Forms.Form}, uFormB in 'uFormB.pas' {uFormB.TFormB: System.Windows.Forms.Form}, uFormC in 'uFormC.pas' {WinForm.TFormC: System.Windows.Forms.Form}; .... Und hier: statt "uFormC in 'uFormC.pas' {WinForm.TFormC: System.Windows.Forms.Form};" sollte es "uFormC in 'uFormC.pas' {UFormC.TFormC: System.Windows.Forms.Form}; heißen. Beim Start mit >F9< kommt dann noch diese Fehlermeldung: [Warnung] zzz.dpr(10): W1026 Datei nicht gefunden: 'WinForm.resources' [Fataler Fehler] zzz.dpr(18): F1026 Datei nicht gefunden: 'uFormC.dcuil' Ich hoffe, von Euch kann mir jemand weiterhelfen - ich probiere schon seit Tagen rum und finde keinen Fehler, den ich gemacht haben könnte. Vielen Dank im Voraus für Eure Bemühungen. mfg gfjs PS: der Smilie in der Fehlermeldung ist im Original nicht vorhanden - entsteht wohl aus: Klammer auf - 18 - Klammer zu. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:30 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz