[Lazarus] Strange application startup problem

2015-12-03 Thread Aradeonas
Hi, Today I open one of my applications and start working on it and made many changes and hit the run but it will immediately crash! So like a programmer I add a break poit on my main form create and no it will not run and crash will happen. So I add another break point to first line of applicatio

Re: [Lazarus] How to destroy object / component by itself?

2015-12-03 Thread Marc Weustink
On December 3, 2015 9:26:39 PM GMT+01:00, Krzysztof wrote: >Hi, > >How to destroy object or component in its own method (do this in next >message queue)? Currently I'm using Application.QueueAsyncCall but IIRC >there is special routine in FPC/LCL but can't find. For example Qt has >myobject.qDel

Re: [Lazarus] How to destroy object / component by itself?

2015-12-03 Thread Bart
On 12/3/15, Krzysztof wrote: > How to destroy object or component in its own method (do this in next > message queue)? Currently I'm using Application.QueueAsyncCall but IIRC > there is special routine in FPC/LCL but can't find. For example Qt has > myobject.qDeleteLater() Application.ReleaseCo

Re: [Lazarus] How to destroy object / component by itself?

2015-12-03 Thread Anthony Walter
procedure TForm1.FormCreate(Sender: TObject); begin FRecycleBin := TObjectList.Create(True); end; procedure TForm1.FormDestroy(Sender: TObject); begin FRecycleBin.Free; end; procedure TForm1.ApplicationProperties1Idle(Sender: TObject; var Done: Boolean); begin FRecycleBin.Clear; Done := T

[Lazarus] How to destroy object / component by itself?

2015-12-03 Thread Krzysztof
Hi, How to destroy object or component in its own method (do this in next message queue)? Currently I'm using Application.QueueAsyncCall but IIRC there is special routine in FPC/LCL but can't find. For example Qt has myobject.qDeleteLater() Regards -- _

Re: [Lazarus] Are you on Windows 10? Are you experiencing slow installs? Here's the deal...

2015-12-03 Thread Tony Whyman
Same here - Vista was such a dog... When I read this thread, the following comes to mind: https://en.wikipedia.org/wiki/Schadenfreude On 02/12/15 09:38, Graeme Geldenhuys wrote: On 2015-12-02 09:14, Anthony Walter wrote: Are you on Windows 10? I bet you are. Nope - haven't had Windows on a

Re: [Lazarus] Are you on Windows 10? Are you experiencing slow installs? Here's the deal...

2015-12-03 Thread Jy V
On Thu, Dec 3, 2015 at 11:50 AM, Marco van de Voort wrote: > but the next update will turn it on regardlessly, I forgot to tell that I turned off the Automatic updates of Windows10. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] How to create a wmf file

2015-12-03 Thread Marc Santhoff
On Di, 2015-12-01 at 19:11 +0800, Dennis wrote: > I have a custom panel that draws lines and rectangles on its canvas. > How can I draw the same things on the canvas of a Windows Metafile > canvas so I can save the panel display as a wmf file? > Thanks a lot. If you are on Windows fpvectorial see

Re: [Lazarus] Are you on Windows 10? Are you experiencing slow installs? Here's the deal...

2015-12-03 Thread Marco van de Voort
On Wed, Dec 02, 2015 at 03:55:17PM +0100, Jy V wrote: > > In my previous answer I forgot to provide permanent disabling Windows > Defender > in a command run Regedit.exe > HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender > create a value reg_dword "DisableAntiSpyware" with value "1"