Autor Beitrag
lemmond1976
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 66



BeitragVerfasst: Mi 07.05.03 11:36 
Hallo,

Formular 1 wird aufgerufen (u.a. wird ein Bild angezeigt). Gleichzeitig wird ein weiteres Formular 2 mitaufgerufen, welches ein Eingabemaske für das Bild beinhaltet. Wenn ich alle Felder von Formular 2 ausgefüllt habe, möchte ich gerne einen Button 2 auf Formular 1 anklicken. Nur komme ich dort nicht hin, weil das Formular 2 aktiv ist (nehme ich an).

Habe schon mit SetActiveWindow und weiteren Api-Befehlen herumgewerkelt, aber weiter gekommen bin ich nicht.

Vielen Dank für Eure Hilfe !

Gruss
Gunnar
UGrohne
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Veteran
Beiträge: 5502
Erhaltene Danke: 220

Windows 8 , Server 2012
D7 Pro, VS.NET 2012 (C#)
BeitragVerfasst: Mi 07.05.03 11:41 
Wie zeigst Du die Formulare an? Wenn Du das mit ShowModal machst, dann ist das klar, dass es nicht geht. Du musst die Forms mit Show aufrufen, dann kannst Du zwischen beiden hin- und herspringen

Gruß
lemmond1976 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 66



BeitragVerfasst: Mi 07.05.03 11:45 
hi, mit show.
Schreibe Dir später mehr, muß jetzt leider weg.
Danke.

Gruss
Gunnar