<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-2">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>When I was in the same situation, I modified each procedure /
function to read</p>
<p>procedure xxx</p>
<p>begin<br>
</p>
<p>{first line} write('procedure xx opened');</p>
<p>...</p>
<p>{last line} writeln('procedure xxx closed');</p>
<p>end;</p>
<p>This produced on the console an easy trace of who called whom,
and how they were stacked.</p>
<p>Wolf<br>
</p>
<br>
<div class="moz-cite-prefix">On 17/02/2018 06:40, Gabor Boros via
Lazarus wrote:<br>
</div>
<blockquote type="cite"
cite="mid:b21529fd-bfab-0760-52b3-975a558eff6d@bgss.hu">Hi All,
<br>
<br>
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.
<br>
<br>
*****Linux-Qt*****
<br>
<br>
*Application start*
<br>
Resize
<br>
ChangeBounds
<br>
WindowPosChanged
<br>
Move
<br>
<br>
*Form maximize*
<br>
WindowStateChange
<br>
Move
<br>
ChangeBounds
<br>
WindowPosChanged
<br>
Resize
<br>
<br>
*Form restore*
<br>
WindowStateChange
<br>
Move
<br>
ChangeBounds
<br>
WindowPosChanged
<br>
Resize
<br>
<br>
*After form move*
<br>
Move
<br>
<br>
*****Windows*****
<br>
<br>
*Application start*
<br>
Resize
<br>
ChangeBounds
<br>
WindowPosChanged
<br>
Move
<br>
WindowPosChanged
<br>
WindowPosChanged
<br>
<br>
*Form maximize*
<br>
Move
<br>
ChangeBounds
<br>
WindowPosChanged
<br>
Resize
<br>
WindowStateChange
<br>
WindowPosChanged
<br>
<br>
*Form restore*
<br>
ChangeBounds
<br>
WindowPosChanged
<br>
Resize
<br>
WindowStateChange
<br>
WindowPosChanged
<br>
<br>
*Meanwhile form move*
<br>
Move
<br>
WindowPosChanged
<br>
Move
<br>
WindowPosChanged
<br>
.
<br>
.
<br>
.
<br>
Move
<br>
WindowPosChanged
<br>
<br>
Gabor
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>