[Lazarus] cannot understand popup menu and form not-closing
JoshyFun
joshyfun at gmail.com
Fri Feb 12 17:42:47 CET 2010
Hello Lazarus-List,
Friday, February 12, 2010, 5:26:14 PM, you wrote:
RP> Hi list,
RP> I have a problem hard to understand (for me), and hard to explain.
RP> I am writing a win32 application to let me quickly open files and
RP> folders; i'm going to place it in the quick launch bar near "start",
RP> so that with one click I get the (XML configurable) list of objects.
RP> I do not show the main form, but only the popup menu, right there
RP> where I clicked.
[...]
RP> Can anyone explain me this behaviour? Besides, what is the right way
RP> to have the application close itself after the popup.close(), without
RP> the trick?
This seems to be related to this bug report: http://bugs.freepascal.org/view.php?id=12552
It is a bit strange and seems to be related to the message queue
process as in the bug report comments you can see that calling an
Application.ProcessMessages before ending the affected function
"solves" the problem.
--
Best regards,
JoshyFun
More information about the Lazarus
mailing list