Autor Beitrag
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: So 08.02.04 18:03 
Hallo!

wie kann ich mein Formular während der Laufzeit zu einem StayOnTop-Formular machen?

Über FormStyle nicht, da

Zitat:
Der Wert von FormStyle sollte nicht zur Laufzeit geändert werden.


Stefan

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
ixtreme
Gast
Erhaltene Danke: 1



BeitragVerfasst: So 08.02.04 18:08 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
with Self do
  SetWindowPos(Handle,
               HWND_TOPMOST, 
               Left,  
               Top,   
               Width,
               Height,
            
               SWP_NOACTIVATE or SWP_NOMOVE or SWP_NOSIZE);


Gruß

ixtreme.de
StefanH Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: So 08.02.04 18:20 
erstmal: Danke, und dann:

stimmt das, um das zu wiederrufen?

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
with Self do 
  SetWindowPos(Handle, 
               HWND_BOTTOM,  
               Left,   
               Top,    
               Width, 
               Height, 
             
               SWP_SHOWWINDOW);


:?:

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)


Zuletzt bearbeitet von StefanH am So 08.02.04 18:20, insgesamt 1-mal bearbeitet
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 08.02.04 18:20 
hmmm. da steht "sollte". wieso eigendlich ??

_________________
In the beginning was the word.
And the word was content-type: text/plain.
StefanH Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: So 08.02.04 18:28 
matze hat folgendes geschrieben:
hmmm. da steht "sollte". wieso eigendlich ??


k.A.... aba via FormStyle:= fsStayOnTop geht es nicht...

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)