On Wednesday 29 March 2006 08:23, Marc Weustink wrote:
> johnf wrote:
> > Using a terminal I start my app. After opening and closing a form (not
> > the main form) and then closing the main form I get the following:
> >
> > [TGtkWidgetSet.Destroy] WARNING: There are 4 unreleased GDIObjects, a
> > detailed dump follows:
>
> This is an internal message for the gtkwidgetset only. When using the
> LCL, this messasage should never occur.
>
> > I guess somehow I'm not closing the form correctly. Can anyone provide a
> > clue or a direction for me to check what is still open. Or maybe a link
> > that describes what steps to take to discover the unreleased objects.
>
> What is on your forms ? How are you closing your forms ?
>
> Marc
Marc thanks for your reply. I have discovered what is causing the problem.
It is the imagelist. I'll figure out how to create the imagelist in code and
see that fixes the problem.
First the imagelist editor cause a Lazarus error. But it did warn me and I
continued and saved. When I reopened my project the imagelist was there
along with the graphics. So I thought all was OK. But I now know that there
is some sort of issue because the close of the form is not closing the
graphics too (I added four graphics to the imagelist). I'll check the bug
list.
Of course someone might know the solution or offer advise.
John
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives