Article View: borland.public.cppbuilder.nativeapi
Article #3714Re: Slow pictures
From: Jos�
Date: Sat, 29 Apr 2006 08:10
Date: Sat, 29 Apr 2006 08:10
31 lines
1811 bytes
1811 bytes
On Fri, 28 Apr 2006 22:42:08 +0200, Hans Galema <notused@notused.nl> wrote in borland.public.cppbuilder.nativeapi: >> screen becomes blank > >There is nothing in your code that cares for that. Please explain. It happens. I think the TImages are made invisible intantanteously, but that it takes time to make them visible. Coding in the other order (first visible, then invisible) makes no difference. >> after one second (or more) the left picture appears. >> after another second (or more) the right picture appears. > >bool toggle; >void loadphotos() > >Oh. Why are you using a global bool and a standalone function ? I always do. Never had any problems with that. But I'll try your suggestion. >It is much better to make that a classmember of TForm1. >If you do you could also use two forms which display >at the same time. I expect this will make them behave more independently, causing a worse synchronisation. -- Jos�
Technical Details
Message-ID:
<kl7652lr7a7j7ssrfach17sm7plv6qgcfm@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<e7t452dmulukkq0ss9hcd60jlc36lgbfo7@4ax.com> <44527f19$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,65d95fe0c39b12ef X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII From: Jos� <jose@127.0.0.1> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Slow pictures Date: Sat, 29 Apr 2006 10:10:06 +0200 Message-ID: <kl7652lr7a7j7ssrfach17sm7plv6qgcfm@4ax.com> References: <e7t452dmulukkq0ss9hcd60jlc36lgbfo7@4ax.com> <44527f19$1@newsgroups.borland.com> X-Newsreader: Forte Agent 3.3/32.846 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 82.75.14.62 X-Trace: newsgroups.borland.com 1146298263 82.75.14.62 (29 Apr 2006 01:11:03 -0700) Lines: 31 Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail