From: Michael P. <mp...@ph...> - 2000-12-12 13:09:51
|
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <body bgcolor="#FFFFFF"> <nobr>Robert Rainwater</nobr> wrote: <blockquote TYPE=CITE> <div WRAP>It might be better to run the timer until you have successfully<br> created x number of layers, using their oncreate event.</div> </blockquote> There is no timer involved. It uses two date objects and compares the times. <p>The Stop value is not created until everything (layers and all) have been created. <br>It is quite noticable when using some of the more layer intensive widgets. <p>If you wanted to, you might alter the layer code to create a count and diskplay a message like: <br> "created X layers in Y seconds" <p>I just wanted a way of doing it for all library sets without having to change each of the packages myself. <br>It may be possible to use the DynObject._nullCount in Pascal's code because most of the objects increment this when they are created. <br>-- <br>Michael Pemberton <br>mp...@ph... <br>ICQ: 12107010 <br> </body> </html> |