Autor Beitrag
THF
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 110

Vista
Delphi 2005 professional
BeitragVerfasst: Mo 14.03.05 22:21 
Hallo

die Position eines Fensters läßt sich nicht verändern.
Ist ein Nebenformular und erscheint auf klick .
Bei den anderen Formularen in meinem Programm
ist das kein Problem.
Es läßt sich nicht bewegen ,obwohl ich schon alles probiert habe komm ich nicht drauf woran das liegt.
Unter dem Menüpunkt "Position" habe ich auch schon alles ausprobiert.

Gruß

THF
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Di 15.03.05 10:15 
So auf Anhieb fällt mir dazu auch nix konkretes ein. Ein paar Vorschläge:

1. Wird in FormCreate irgendetwas ausgeführt (bei diesem Fenster)?
2. Im Objektinspektor werden alle gegenüber den Standardwerten veränderten Eigenschaften fett gedruckt. Setz mal alle auf Standard zurück...
3. Such mal mit "Dateien durchsuchen..." alle Dateien im Projekt nach dem Formularnamen durch. Vielleicht fällt dir ja da was falsches auf, was mit dem Formular passiert.
THF Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 110

Vista
Delphi 2005 professional
BeitragVerfasst: Di 15.03.05 11:45 
Hallo jaenicke,

also auf dem Formular befindet sich ein RichEdit auf dem vom Hauptformular
etwas reingeschrieben wird.
Weil es immer Zugriffsprobleme gab, habe ich
jeweils reingeschrieben

ausblenden Delphi-Quelltext
1:
2:
if not Assigned(Nebenformular) then
Nebenformular := TNebenformular.Create(Application);

ohne diese Anweisung erscheint immer Fehlermeldung "Zugriffsverletzung".

Vielleicht hängt das damit zusammen ?

Die anderen Formulare lassen sich alle verschieben

Gruß

THF
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Di 15.03.05 13:38 
Damit hat das nix zu tun, so ist das ja in Ordnung.

Ansonsten fällt mir da nix mehr ein :nixweiss: ...