Autor Beitrag
Terra
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 307

Windows 7 Ultimate
Delphi® XE3
BeitragVerfasst: Mi 01.06.05 18:35 
Ich habe 2 Forms in einem Program. In dem Hauptform ist eine funktion die eine ScrollBox beinhaltet die automatisch an eine bestimmte Position fährt. In der 2. Form sollte eigentlich die Ziel-Positionierung stattfinden. Sprich, wenn ich was auswähle soll in Form_1 die ScrollBox ihre Aufgabe verrichten. (Auch wenn Form_2 noch offen ist). Leider tut es das nicht sondern erst wenn Form_2 wieder geschlossen wird. Was muss ich da machen? Bitte mit bissel Quelltext da ich noob ^^

Terra
alzaimar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2889
Erhaltene Danke: 13

W2000, XP
D6E, BDS2006A, DevExpress
BeitragVerfasst: Mi 01.06.05 18:38 
Etwas ungenaue Angabe, aber ich denke mal, Du zeigst die Form2 mit ShowModal. Versuchs mal mit Show. Aber, so ganz ohne Code ist das wirklich schwer zu reparieren, obwohl das Problem trivial sein sollte.
Terra Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 307

Windows 7 Ultimate
Delphi® XE3
BeitragVerfasst: Mi 01.06.05 18:54 
*lol* .. jou, das wars schon. ^^

Und wie behalte ich dann Form_2 im vordergrund ? Verschwindet jetzt immer hinter Form_1 :-( (Bei der Visuellen Anzeige)

Terra
alzaimar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2889
Erhaltene Danke: 13

W2000, XP
D6E, BDS2006A, DevExpress
BeitragVerfasst: Mi 01.06.05 21:17 
Form1.FormStyle= fsStayOnTop (oder oder mit SetWindowPos (oder so)
Terra Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 307

Windows 7 Ultimate
Delphi® XE3
BeitragVerfasst: Mi 01.06.05 21:22 
ok vielen dank .. werds mal damit ausprobieren.

Terra