Autor Beitrag
Jojojoxx
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 386



BeitragVerfasst: Di 30.09.08 15:06 
Hallo!

Ich habe eine Form (nicht die Hauptform), die immer wenn Sie mit show aufgerufen wird im Vordergrund gehalten werden soll. Auch wenn andere Anwendungen maximiert werden. Es ist mir aber nicht gelungen (fsStayonTop bringt mich auch nicht weiter).
Ich arbeite unter Windows Vista.
Vielen Dank für eure Hilfe!
mfg

Jojo
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10183
Erhaltene Danke: 1256

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Di 30.09.08 15:23 
Moin!

Schau mal hier, dürfte das Gleiche bei rauskommen. :?

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
Jojojoxx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 386



BeitragVerfasst: Di 30.09.08 15:39 
Vielen Dank, es hat geklappt! :)
mfg

Jojo
Jojojoxx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 386



BeitragVerfasst: Di 30.09.08 15:51 
Hi!

Merke grade, dass es so ganz 100%ig doch nicht funktioniert.
Ich habe z.B. Firefox maximiert im Vordergrund. Wenn sich dann mein Fenster (Nicht Hauptform) timergesteuert in den Vordergrund bringen soll, erscheint in der Taskleiste zwar das Programm, aber es ist nichts im Vordergrund. wenn ich dann auf das Programmsymbol in der Taskleiste klicke erscheinen Hauptform (sollte eigentlich gar nicht erscheinen, da ins Tray minimiert) und das gewünschte Fenster.
Sobald ich das Fenster einmal anzeigen lasse bleibt es zwar im Vordergrund, aber ist an das Hauptformular gekoppelt, d.h. ein minimieren des Hauptfensters bewirkt auch ein Minimieren des anderen "Vordergrundfensters".
mfg

Jojo
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10183
Erhaltene Danke: 1256

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Di 30.09.08 15:56 
Moin!

user profile iconJojojoxx hat folgendes geschrieben:
Merke grade, dass es so ganz 100%ig doch nicht funktioniert.
Kurz: wenn du mal in den Link aus dem alten Thread reinschaust, dann wirst du merken, dass das mit der VCL nicht "besser" geht... :nixweiss:

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
Jojojoxx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 386



BeitragVerfasst: Di 30.09.08 16:01 
Mhh, naja, du schreibst dort
Zitat:
...der zumindest bei ausgeblendetem MainForm (=Form1) für Form2 das gewünschte Resultat liefert:

bei mir wird bei ausgeblendeter MainForm die MainForm wieder angezeigt...
Jojojoxx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 386



BeitragVerfasst: Sa 04.10.08 19:01 
Hallo!

Ich habe es jetzt hinbekommen, dass es absolut einwandfrei läuft.
Gefunden habe ich die Lösung hier: entwickler-forum.de/showthread.php?t=22715
mfg

Jojo