Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-02

dialog problem

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Shane Miller

In the DestroyDialog callback in gtkCallback.inc the filename is set to '' so I could simply remove this line and fix the problem. Should we CREATE the dialog each time we want to bring it up and destroy it wqhen finished? Shane

Reply by email

Marc Weustink
to Shane Miller
Shane wrote
Should we CREATE the dialog each time we want to bring it up and destroy it wqhen finished?

I think so. I don't see much performance increase increating them at startup. These dialogs aren't called often, so why keep al those resources allocated.

Marc

Reply by email