Autor Beitrag
McFarlane
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 68

WIN XP Prof.
Delphi 2005 PE, Turbo Delphi 2006, PHP (Eclipse)
BeitragVerfasst: Sa 07.10.06 14:20 
Tach,
ich will aus form1 ein neues öffnen. Hab hier mal gesucht und form2.show gefunden, klappt aber nicht. Mit form2.visible := true hab ichs auch probiert, doch auch da ist nix passiert.
DnC
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 98

XP
Delphi 3,6,7,2005 PE
BeitragVerfasst: Sa 07.10.06 15:13 
müsste beides gehen.... hast du ein zweites Formular erzeugt? *dumme Frage, aber sonst hab ich keine Idee*
McFarlane Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 68

WIN XP Prof.
Delphi 2005 PE, Turbo Delphi 2006, PHP (Eclipse)
BeitragVerfasst: Sa 07.10.06 15:25 
Ja, hab ich:

user defined image

Ich hab hier noch n bissl gesucht und diverses Zeug gefunden, was auch nicht alles klappt.
ShowModal und Hide scheint es bei mir garnicht zu geben.
Könnt ihr mir mal bitte nen Quelltext reinschreiben?

Form 1 = CSME
Form 2 = search

Wenn ich in CSME auf "durchsuchen" klicke, soll es "search" öffnen.

thx, McFarlane
DnC
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 98

XP
Delphi 3,6,7,2005 PE
BeitragVerfasst: Sa 07.10.06 15:31 
also eigentlich...

ausblenden Delphi-Quelltext
1:
2:
3:
{...}
Form2.Visible:=true;//geht bei mir immer
{...}
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: Sa 07.10.06 15:40 
user profile iconDnC hat folgendes geschrieben:
also eigentlich...

ausblenden Delphi-Quelltext
1:
2:
3:
{...}
Form2.Visible:=true;//geht bei mir immer
{...}

Ist genau das gleiche wie Form2.Show;

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot


Zuletzt bearbeitet von Marco D. am Sa 07.10.06 15:44, insgesamt 2-mal bearbeitet
DnC
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 98

XP
Delphi 3,6,7,2005 PE
BeitragVerfasst: Sa 07.10.06 15:43 
user profile iconMarco D. hat folgendes geschrieben:
Ist genau das gleiche wie Form2.Show;


ja klar, aber...

user profile iconMcFarlane hat folgendes geschrieben:
ich will aus form1 ein neues öffnen. Hab hier mal gesucht und form2.show gefunden, klappt aber nicht. Mit form2.visible := true hab ichs auch probiert, doch auch da ist nix passiert.
McFarlane Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 68

WIN XP Prof.
Delphi 2005 PE, Turbo Delphi 2006, PHP (Eclipse)
BeitragVerfasst: Sa 07.10.06 16:01 
hab den forms andere namen gegeben und jetzt klappts...
(fragt ja nicht wieso)