Re: [Lazarus] WARNING: TResourceCacheItem.IncreaseRefCount 1000 TFontHandleCache

2018-02-16 Thread Bart via Lazarus
On Fri, Feb 16, 2018 at 10:16 PM, Vojtěch Čihák via Lazarus
 wrote:

> don't you know what does this output mean (in Console In/Output, not in
> Messages): WARNING: TResourceCacheItem.IncreaseRefCount 1000
> TFontHandleCache ?

Sounds quite familiar, see: https://bugs.freepascal.org/view.php?id=30661
Michl solved that one.

Bart
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] WARNING: TResourceCacheItem.IncreaseRefCount 1000 TFontHandleCache

2018-02-16 Thread Vojtěch Čihák via Lazarus

Hi,
 
don't you know what does this output mean (in Console In/Output, not in 
Messages): WARNING: TResourceCacheItem.IncreaseRefCount 1000 TFontHandleCache ?
 
Thanks,
 
V.

-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Form events firing order and count

2018-02-16 Thread Wolf via Lazarus
When I was in the same situation, I modified each procedure / function 
to read


procedure xxx

begin

{first line} write('procedure xx opened');

...

{last line} writeln('procedure xxx closed');

end;

This produced on the console an easy trace of who called whom, and how 
they were stacked.


Wolf


On 17/02/2018 06:40, Gabor Boros via Lazarus wrote:

Hi All,

I want to know when a form maximized, restored or moved. But 
completely lost between form's events. See below what I got with the 
attached example project. For example 1 WindowPosChanged at 
application start with Linux-Qt and 3 with Windows, with Linux-Qt form 
maximize and restore give same result but with Windows the result 
different for maximize and restore, etc.


*Linux-Qt*

*Application start*
Resize
ChangeBounds
WindowPosChanged
Move

*Form maximize*
WindowStateChange
Move
ChangeBounds
WindowPosChanged
Resize

*Form restore*
WindowStateChange
Move
ChangeBounds
WindowPosChanged
Resize

*After form move*
Move

*Windows*

*Application start*
Resize
ChangeBounds
WindowPosChanged
Move
WindowPosChanged
WindowPosChanged

*Form maximize*
Move
ChangeBounds
WindowPosChanged
Resize
WindowStateChange
WindowPosChanged

*Form restore*
ChangeBounds
WindowPosChanged
Resize
WindowStateChange
WindowPosChanged

*Meanwhile form move*
Move
WindowPosChanged
Move
WindowPosChanged
.
.
.
Move
WindowPosChanged

Gabor




-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Form events firing order and count

2018-02-16 Thread Gabor Boros via Lazarus

Hi All,

I want to know when a form maximized, restored or moved. But completely 
lost between form's events. See below what I got with the attached 
example project. For example 1 WindowPosChanged at application start 
with Linux-Qt and 3 with Windows, with Linux-Qt form maximize and 
restore give same result but with Windows the result different for 
maximize and restore, etc.


*Linux-Qt*

*Application start*
Resize
ChangeBounds
WindowPosChanged
Move

*Form maximize*
WindowStateChange
Move
ChangeBounds
WindowPosChanged
Resize

*Form restore*
WindowStateChange
Move
ChangeBounds
WindowPosChanged
Resize

*After form move*
Move

*Windows*

*Application start*
Resize
ChangeBounds
WindowPosChanged
Move
WindowPosChanged
WindowPosChanged

*Form maximize*
Move
ChangeBounds
WindowPosChanged
Resize
WindowStateChange
WindowPosChanged

*Form restore*
ChangeBounds
WindowPosChanged
Resize
WindowStateChange
WindowPosChanged

*Meanwhile form move*
Move
WindowPosChanged
Move
WindowPosChanged
.
.
.
Move
WindowPosChanged

Gabor


FormEvents.tar.gz
Description: GNU Zip compressed data
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] TMS Web core released - based on pas2js.

2018-02-16 Thread Michael Schnell via Lazarus

On 15.02.2018 22:22, Michael Van Canneyt via Lazarus wrote:
Yesterday, TMS Software has released a tech preview of their "TMS Web 
core" product for Delphi.

Great stuff indeed !

-Michael

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus