Recent

Author Topic: Location of Application.Title stops Lazdatadesktop from running  (Read 2099 times)

vfclists

  • Hero Member
  • *****
  • Posts: 1165
    • HowTos Considered Harmful?
Location of Application.Title stops Lazdatadesktop from running
« on: September 05, 2014, 05:09:09 pm »
For some strange reason unless Application.Title is set after Application.CreateForm in the project's source file, the projects main window will simply not show.

As you can see I have to move Applicaton.Title after the Application.CreateForm for the main window to show. Is there some reason for this?

Code: [Select]
begin
  //Application.Title:='Lazarus Data Desktop';
  Application.Initialize;
  //Application.Title:='Lazarus Data Desktop';
  Application.CreateForm(TMainForm, MainForm);
  Application.Title:='Lazarus Data Desktop';
  Application.Run;
end.

Is there some reason for this?

I am running Ubuntu 12.04 with KDE 4.1.3.

The issue manifests on both Lazarus 1.2.4/FPC 2.6.4 as well as Lazarus 1.3 / FPC 2.7.1
Lazarus 3.0/FPC 3.2.2

 

TinyPortal © 2005-2018