Autor Beitrag
Gosa
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 112



BeitragVerfasst: Mi 27.04.05 23:17 
Hallo,

Ich habe zwei Formen. Beide haben ein TMainMenu. Ich möchte das die eine Form in der anderen ist (weis nicht wie das richtig heisst :) ) Ich mache das so:

ausblenden Delphi-Quelltext
1:
  Form2.parent := Form1					


Die Form ist dann auch in der anderen nur verschwindet das TMainMenu von Form2. Ich habe etwas über SetSubComponent gelesen hat das vielleicht etwas damit zu tun???

Danke für jede Hilfe


Moderiert von user profile iconraziel: Topic aus Sonstiges verschoben am Do 28.04.2005 um 07:47
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Do 28.04.05 01:23 

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
Gosa Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 112



BeitragVerfasst: Do 28.04.05 09:27 
das ist ein thread von mir... bringt mir nur leider nichts. Wer das mal probieren will einfach zwei formen machen und ein TMainMenu auf beide tun und ein bischen krams reinschreiben. Dann auf Form1 einen button und in die Onclick procedure

ausblenden Delphi-Quelltext
1:
  Form2.parent := Form1;					


dann ist das Menu in Form2 weg.