Re: [fpc-pascal] exitproc?

2014-08-05 Thread Tomas Hajny
On Tue, August 5, 2014 02:00, waldo kitty wrote: back in the [g]?olden days of TP6, i used to be able to set an exitproc procedure that would be executed any time my program exited for any reason... something like exitproc := @myexitproc; is this still able to be done easily? does it

[fpc-pascal] TImage : how to avoid flickering when changing image

2014-08-05 Thread Dennis Poon
every few seconds, I want the same TImage to load a different jpg file but now it flickers whenever TheImage.Picture.LoadFromFile('new.jpg'); How do I avoid the flickering? Dennis ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] TImage : how to avoid flickering when changing image

2014-08-05 Thread Henry Vermaak
On Tue, Aug 05, 2014 at 07:06:43PM +0800, Dennis Poon wrote: every few seconds, I want the same TImage to load a different jpg file but now it flickers whenever TheImage.Picture.LoadFromFile('new.jpg'); How do I avoid the flickering? I assume you're on Windows. Have you tried to set

Re: [fpc-pascal] TImage : how to avoid flickering when changing image

2014-08-05 Thread Henry Vermaak
On Tue, Aug 05, 2014 at 12:19:22PM +0100, Henry Vermaak wrote: On Tue, Aug 05, 2014 at 07:06:43PM +0800, Dennis Poon wrote: every few seconds, I want the same TImage to load a different jpg file but now it flickers whenever TheImage.Picture.LoadFromFile('new.jpg'); How do I avoid the

Re: [fpc-pascal] exitproc?

2014-08-05 Thread leledumbo
is this still able to be done easily? No difference I guess: http://www.freepascal.org/docs-html/rtl/system/exitproc.html However, this is better: http://www.freepascal.org/docs-html/rtl/system/addexitproc.html does it work even if there's an untrapped exception? Just try it -- View this

Re: [fpc-pascal] exitproc?

2014-08-05 Thread waldo kitty
On 8/5/2014 3:29 AM, Tomas Hajny wrote: On Tue, August 5, 2014 02:00, waldo kitty wrote: back in the [g]?olden days of TP6, i used to be able to set an exitproc procedure that would be executed any time my program exited for any reason... something like exitproc := @myexitproc; is this

Re: [fpc-pascal] exitproc?

2014-08-05 Thread waldo kitty
On 8/5/2014 12:51 PM, leledumbo wrote: is this still able to be done easily? No difference I guess: http://www.freepascal.org/docs-html/rtl/system/exitproc.html However, this is better: http://www.freepascal.org/docs-html/rtl/system/addexitproc.html thanks for the pointers! i was extremely

[fpc-pascal] http://free-pascal-develop.nabble.com/ ?

2014-08-05 Thread fredvs
Hello. For fpc-general it exists : http://free-pascal-general.1045716.n5.nabble.com/ Nable is a easy to use forum-web site. Does it exist a nabble web page for fpc-develop (with all fpc-devel archives) ? Thanks. - Many thanks ;-) -- View this message in context:

[fpc-pascal] best? safest? fastest?

2014-08-05 Thread waldo kitty
i suspect this is going to be like the long-standing joke of cheap, fast, stable: choose two over the years, i've seen two schools of code for dealing with dates... years, specifically... one school is string based and the other is math based... both have their faults and pluses... eg: