Autor Beitrag
Kaeawc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 41



BeitragVerfasst: Mo 27.03.06 18:35 
Ich will ein Programm schreiben das keine Buttons wie minimieren, schliessen oder wiederherstellen anzeigt.
Sprich keine Statusbar oder wie man es nennt. Das Programm soll auch zentriert vom Bildschirm und NICHT verschiebbar sein. Jemand eine Idee wie ich sowas hinbekomme? Danke :)
starsurfer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 334

Win 95, Win 98, Win XP, Win Vista, Linux
D5 Enterprise ,D2005, D6 Personal, Visual C++ Express 2005, C++ Builder 6 E, Dev-C++
BeitragVerfasst: Mo 27.03.06 18:37 
gugg mal bei form bei boarderstyle und stellt das mal auf bsdialog/bsnone...

_________________
GEIZ IST GEIL! - Ihr Sozialamt
Kaeawc Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 41



BeitragVerfasst: Mo 27.03.06 18:39 
Edit: Funkt, vielen Dank :)

Weiß noch jemand wie ich es in der Mitte vom Bildschirm anzeigen lassen kann?
Stoney
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 122

Mac OS X 10.6 "Snow Leopard", Ubuntu Linux 9.04, Mandriva 2010, Win 7, Win Vista, Win XP
Object Pascal (Turbo Delphi, FPC 2.2.4, Lazarus), C++ (Code::Blocks, XCode), Java (Eclipse)
BeitragVerfasst: Mo 27.03.06 18:43 
Zitat:

Weiß noch jemand wie ich es in der Mitte vom Bildschirm anzeigen lassen kann?


Schau mal bei Position und setze es auf poScreenCenter.
Danniolo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 693



BeitragVerfasst: Mo 27.03.06 18:54 
falls du's manuell machen möchtest.. (was zwar unpraktisch wäre, aber egal :mrgreen:):
ausblenden Delphi-Quelltext
1:
2:
Form1.Top  := (Screen.Height div 2) - (Height div 2);
Form1.Left := (Screen.Width div 2)  -  (Width div 2);