Thema: Delphi Formular und position

Einzelnen Beitrag anzeigen

Benutzerbild von 3_of_8
3_of_8

Registriert seit: 22. Mär 2005
Ort: Dingolfing
4.129 Beiträge
 
Turbo Delphi für Win32
 
#2

Re: Formular und position

  Alt 20. Jul 2006, 21:28
Ich hab mir mal schnell ein Testprogramm erstellt, mit dem das ganze wunderbar funktioniert.

Ich hab nur die Konstruktionsweise geändert, da ich sonst die Hauptbotschaftsschleife nicht aufrufen kann.

Delphi-Quellcode:
program Project2;

uses
  SysUtils, Forms;

var test: TForm;
begin
  Application.Initialize;
  Application.CreateForm(TForm, test);
  test.Left := 500;
  test.top := 500;
  test.show;
  Application.Run;
end.
Manuel Eberl
„The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.“
- Terry Pratchett
  Mit Zitat antworten Zitat