Autor Beitrag
GigaNeko
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 51



BeitragVerfasst: Di 12.12.06 15:52 
hallo, ich programiere gerade ein programm...
ich möchte aber, dass das formblatt auf dem ganzen bildschirm angezeigt wird, also ohne blaue leiste oben und ohne startleiste. wie geht das?
Danny87
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 688

Windows 10 Pro 64bit
Sprachen: HTML, PHP, JavaScript, Delphi || IDE: RAD Studio 10.1 Berlin Starter, WeBuilder
BeitragVerfasst: Di 12.12.06 16:00 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
with Form1 do
  begin
  BorderStyle := bsNone;
  Width  := Screen.Width;
  Height := Screen.Height
  end;


Gruss
Daniel
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Di 12.12.06 16:02 
Antelle von
ausblenden Delphi-Quelltext
1:
2:
Width  := Screen.Width;
Height := Screen.Height

kannst du auch
ausblenden Delphi-Quelltext
1:
 WindowState := wsMaximized;					

schreiben ;)
azubi_20
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 593

WinXP SP2, Ubuntu 8.4
D7 Enterp., D2005 Prof., Java (Eclipse 3.4.0)
BeitragVerfasst: Di 12.12.06 16:08 
user profile iconMarc. hat folgendes geschrieben:
Antelle von
ausblenden Delphi-Quelltext
1:
2:
Width  := Screen.Width;
Height := Screen.Height

kannst du auch
ausblenden Delphi-Quelltext
1:
 WindowState := wsMaximized;					

schreiben ;)


Nein kann er nicht, denn er will das Fenster nicht maximiert darstellen, sondern

user profile iconGigaNeko hat folgendes geschrieben:
... dass das formblatt auf dem ganzen bildschirm angezeigt wird, also ohne blaue leiste oben und ohne startleiste. wie geht das?


das geht nur mit dem Code von user profile iconDanny87
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Di 12.12.06 16:11 
und ob das geht! probiers aus ;)
azubi_20
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 593

WinXP SP2, Ubuntu 8.4
D7 Enterp., D2005 Prof., Java (Eclipse 3.4.0)
BeitragVerfasst: Di 12.12.06 16:28 
user profile iconMarc. hat folgendes geschrieben:
und ob das geht! probiers aus ;)


OK, habe gerade noch mal drübergelesen und merkte, dass ich dich falsch verstanden habe. Ich dachte du wolltest den Effekt nur mit deinem Code errreichen. Du hast jedoch nur einen Teil ersetzt.

Also : Du hast natürlich recht ! :flehan:

Es geht so :
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
with Form1 do
  begin
  BorderStyle := bsNone;
  Width  := Screen.Width;
  Height := Screen.Height
  end;


oder so :
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
with Form1 do
  begin
  BorderStyle := bsNone;
  WindowState := wsMaximized;  
  end;


sorry für meine Unaufmerksamkeit. :wink:
Danny87
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 688

Windows 10 Pro 64bit
Sprachen: HTML, PHP, JavaScript, Delphi || IDE: RAD Studio 10.1 Berlin Starter, WeBuilder
BeitragVerfasst: Mi 13.12.06 13:55 
Am besten noch den FormStyle auf fsStayOnTop setzen (nur so als Tip) ;)