Autor Beitrag
N47R0N
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 134



BeitragVerfasst: Mo 28.03.05 13:39 
Hi ich bins mal wieder ich habe diesmal nur eine kleine frage unzwar wie kann man den Oberen rand eines Programms , ihr wisst schon den wo der name drinn steht und auch die Buttons zum entfernen und minimiren stehen wie bekomme ich den weg??

Danke für jede hilfe.


Moderiert von user profile iconraziel: Topic aus Sonstiges verschoben am Mo 28.03.2005 um 15:24
fvolk
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 203

Win XP (Home & Pro)
Delphi 2005 Pers
BeitragVerfasst: Mo 28.03.05 13:41 
Du musst die Eigenschaft BorderStyle des entsprechenden Formulars auf den Wert bsNone setzen. Das müsste reichen.

Beachte, dass das Fenster dann nicht mehr verschoben/vergrößert/verkleinert werden kann, wenn du nicht eine andere Funktion dafür zur Verfügung stellst. Schließen lässt es sich noch über Alt+F4.

_________________
Nichts auf der Welt ist so gerecht verteilt wie der Verstand. Denn jedermann ist überzeugt, dass er genug davon habe.
(René Descartes)
N47R0N Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 134



BeitragVerfasst: Mo 28.03.05 14:15 
Jo das war mir schon klar ich habe es so eingestellt das wenn jemand auf die Form klickt sich das ganse schliest.

danke nochmal :D :D :D
Chris Maslowski
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 109



BeitragVerfasst: Mo 28.03.05 19:43 
Titel: Lösung
Hier ist die Lösung:
ausblenden Delphi-Quelltext
1:
2:
FormStyle := fsStayOnTop;  
 // Kein Rand


Moderiert von user profile iconraziel: Code- durch Delphi-Tags ersetzt.
patrick
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1481

WIN2k, WIN XP
D6 Personal, D2005 PE
BeitragVerfasst: Mo 28.03.05 19:53 
Titel: Re: Lösung
user profile iconChris Maslowski hat folgendes geschrieben:
Hier ist die Lösung:
ausblenden Delphi-Quelltext
1:
2:
FormStyle := fsStayOnTop;  
 // Kein Rand

entschuldigung, aber das stimmt leider nicht. diese eigenschaft hat keinerlei einfluss auf das rahmen-erscheinungsbild.
Delphi Hilfe hat folgendes geschrieben:
fsStayOnTop
This form remains on top of the desktop and of other forms in the project, except any others that also have FormStyle set to fsStayOnTop.If one fsStayOnTop form launches another, neither form will consistently remain on top.

_________________
Patrick
im zweifelsfall immer das richtige tun!!!
Fabian W.
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: Di 29.03.05 16:50 
Eben, und zum Verschieben des Fensters auch ohne Titelleiste hab ich auch ne Möglichkeit entwickelt. :wink: