[Lazarus] Desktops and multiple source editors

Ondrej Pokorny lazarus at kluug.net
Thu Sep 10 01:06:09 CEST 2015


On 10.09.2015 00:22, Ondrej Pokorny wrote:
> On 10.09.2015 00:13, Ondrej Pokorny wrote:
>>
>> The Package editors:
>> 1.) Position is controlled by the desktop for every package 
>> separately. This means if you open a package and save the desktop, 
>> the next time you open the package having the same desktop active in 
>> the IDE, it will be correctly placed.
> Ok, this does not work now...
> Ondrej
There was Position=poScreenCenter set for the package editor window in 
the LFM. It overrides any position change. I forgot about it. Now it 
behaves like it should - the position is restored from the desktop. 
Small patch included.

Thanks, Ondrej
-------------- next part --------------
Index: packager/packageeditor.lfm
===================================================================
--- packager/packageeditor.lfm	(revision 49803)
+++ packager/packageeditor.lfm	(working copy)
@@ -15,7 +15,6 @@
   OnCreate = FormCreate
   OnDestroy = FormDestroy
   OnDropFiles = FormDropFiles
-  Position = poScreenCenter
   LCLVersion = '1.5'
   object ToolBar: TToolBar
     Left = 0


More information about the Lazarus mailing list