Autor Beitrag
der_zaehe
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 317

WinXP SP2
D6 Pers, D2005 Prof, VS2005
BeitragVerfasst: Di 22.02.05 17:01 
hallO alle!
wie kann ich es realisieren, dsa mehrere Forms gegenseitig auf sich zugreifen können? ich habs schon geschafft, das das eine auf das andere zugreift, aber wenn ichs umgekehrt probiere, gibts nen EAccesViolation.
Zur erläuterung:
    die eine formular-unit steht beim anderen direkt im uses-teil, unter interface (zugriff auf das seperat eingbundene form klappt)
    die andere formular-unit steht unter implemntation im uses-teil.

ich hoff mal, ich hab das verständlich genug formuliert :wink:

schon mal im voraus vielen dank für eure hilfe

_________________
[inspirationslos]
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Di 22.02.05 19:08 
Ich weiß ja nicht, wie du das machst, aber ich schreib einfach immer
ausblenden Delphi-Quelltext
1:
Form2.(...)					

irgendwo im Code, starte das Prog und dann meldet sich Delphi und sacht irgendwas und wenn man auf "Yes" klickt funktioniert alles wunderbar... :rofl:

_________________
Steht der Bauer im Gemüse, hat er später grüne Füße.
der_zaehe Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 317

WinXP SP2
D6 Pers, D2005 Prof, VS2005
BeitragVerfasst: Mi 23.02.05 17:30 
chrhr :D :lol: :lol:
bei mir gehts jetzt auch, hab keinen Plan, warums vorher nicht ging. (Ich habs genau so gemacht, wie dus beschrieben hast.) Vielleicht hab ich ja jetzt irgendwas im quelltext verändert, was vorher gestört hat. Kann mich aber nicht dran erinnern :)
Ich armer Wicht, keine Ahnung was ich falsch gemacht hab, war schon ganz am verzweifeln, und hab die wildesten theorien aufgestellt, an was es liegen könnte.
Dann hab ich meinen Info-Lehrer gefragt. Der hat das Problem noch verstärkt, indem er einen total abstrusen Lösungsweg vorgeschlagen hat :roll: , und mich daran zweifeln ließ, dass die Sache eigentlich ganz trivial ist.
Wenns noch probs gibt, meld ich mich einfach noch mal.

_________________
[inspirationslos]
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mi 23.02.05 19:54 
Kloar. ;)

Was hat dein Info-Lehrer denn gemeint??

_________________
Steht der Bauer im Gemüse, hat er später grüne Füße.
der_zaehe Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 317

WinXP SP2
D6 Pers, D2005 Prof, VS2005
BeitragVerfasst: Mi 23.02.05 20:31 
ich sollte eine zusätzliche unit schreiben, die dann irjendwie die beiden formulare aneinander vermittelt. (?) genauer ist er da nicht geworden.
das sag ich nur: autsch! :shock:
und das als info-lehrer... :rofl:

_________________
[inspirationslos]