ClearAfter vs. PreRelease
 
 
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



ClearAfter vs. PreRelease Expand / Collapse
Author
Message
Posted 5/16/2008 11:19:33 AM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: Yesterday @ 5:08:57 PM
Posts: 170, Visits: 490
In EP1, if a visual display object used both ClearAfter and PreRelease, the screen clear occurred after the full duration of the object regardless of the PreRelease, which is what I expect. I notice in EP2 that the screen clear now occurs as soon as the object reaches the PreRelease time -- that is, the screen goes blank during the PreRelease time, before the next object starts. I have attached a pair of test programs in both EP1 and EP2 so you can see this for yourself.

Is this a deliberate change in the specs for EP2? What is the reason for this change?

Thanks,
-- David McFarlane, Professional Faultfinder


  Post Attachments 
PreReleaseClearAfter.es (0 views, 7.20 KB)
PreReleaseClearAfter.es2 (0 views, 31.70 KB)
Post #1562
Posted 5/16/2008 12:16:43 PM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: Yesterday @ 5:08:57 PM
Posts: 170, Visits: 490
Oops, my mistake entirely, sorry. In my haste to create a pair of identical EP2 & EP1 programs, I missed the crucial step of using ClearAfter in the EP1 test program. D'oh!

So everything works the same in both versions. In addition, reflecting on the info in the online E-Basic Help, that is the way it must work. ClearAfter must clear the display as soon as the run method of the object completes, and that happens when it reaches its PreRelease time.

My apologies,
-- David McFarlane, Professional Faultfinder, once again finding fault even with himself
Post #1563
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -5:00, Time now is 4:46pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.062. 10 queries. Compression Disabled.