Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   Problem mit Bildschirmschoner... (https://www.delphipraxis.net/55595-problem-mit-bildschirmschoner.html)

nabbl 23. Okt 2005 20:55


Problem mit Bildschirmschoner...
 
Hallo! Ich habe nen Screensaver angefangen zu proggen und habe nun folgendes Problem:

Unter den Windows-Anzeige-Optionen funktioniert der "Eigenschaften"-Button nicht. Der Bildschirm flackert kurz - das war's. Hier mein Code für die Project.dpr?

Delphi-Quellcode:
program Project1;

uses
  Forms,
  SysUtils,
  Unit1 in 'Unit1.pas' {Form1},
  Unit2 in 'Unit2.pas' {Form2},
  Unit3 in 'Unit3.pas' {Form3};

{$R *.res}
{$D SCRNSAVE: Spruch-Bildschirmschoner}
begin
Application.Initialize;
{$IFDEF Dummy}
Application.CreateForm(TForm1, Form1);
  {$ENDIF}
if uppercase(Paramstr(1))='/C' then //configure
  Application.CreateForm(TForm2, Form2)
else if uppercase(Paramstr(1))='/S' then
    Application.CreateForm(TForm3, Form3);
Application.Run;
end.
sollte doch eigentlich so funktionieren, oder?!

nabbl 25. Okt 2005 12:20

Re: Problem mit Bildschirmschoner...
 
*push* :angel:


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:11 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz