Autor Beitrag
christian87
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45



BeitragVerfasst: Do 08.02.07 18:35 
Ich habe 2 Formen ich möchte eine sichtbar haben und wenn ich in der sichtbaren auf ein Button drücke soll diese unsichtbar werden und die 2. sichtbar.

Ich habe visible auf false gestellt. Ist aber anscheinend falsch.
marvin521993
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 172



BeitragVerfasst: Do 08.02.07 19:24 
Du musst auf den button klicken und dann:

ausblenden Delphi-Quelltext
1:
2:
Form2.showmodal;
Form1.hide;


so ,müssts klappen aber du musst noch deine forms drauf anpassen

Moderiert von user profile iconChristian S.: Delphi-Tags hinzugefügt
marvin521993
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 172



BeitragVerfasst: Do 08.02.07 19:27 
ach quatsch kein showmodal sondern nur show
Fighter#1
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: Do 08.02.07 19:41 
user profile iconmarvin521993 hat folgendes geschrieben:
ach quatsch kein showmodal sondern nur show


Nutz doch einfach die Edit funktion ...

_________________
Wer andere beherrscht ist stark,
wer sich selbst beherrscht ist mächtig. Lao Tse
marvin521993
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 172



BeitragVerfasst: Do 08.02.07 19:42 
ach quatsch kein showmodal sondern nur show
christian87 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45



BeitragVerfasst: Do 08.02.07 19:52 
Also das funktioniert soweit. Nur möchte ich am Anfang ja nur eine Form sichtbar haben. Ich habe jetzt visible auf false gestellt bei meiner ersten Form. Sie ist aber trotzdem noch sichtbar.
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Do 08.02.07 19:54 
Du musst dann in den Projektoptionen Form2 zu deinem Hauptformular machen. ;)

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
christian87 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45



BeitragVerfasst: Do 08.02.07 19:57 
Vielen dank es klappt