Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close the VFP desktop?
Message
From
15/12/1998 19:34:05
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00166481
Message ID:
00167886
Views:
23
>>One of first things which hit me very early when I jumped into this OOP world was the lack of ability to find out whether a Read Events was already issued or it wasn't. In FP there was the RdLevel() function, but what's for Read Events? Is there something elementary that I've overlooked?
>
>Hi Dragan,
>
>Only one READ EVENTS can active at a time and subsequent READ EVENTS have no effect. So, if you're not sure just issue READ EVENTS. HTH

That's the easy part, but what if I'm in a routine which does some cleanup - and should behave differently if it's called while Read Events is on than when it's off? How would I know?

One thing pops up (not a real lightbulb), I could maybe issue "Clear events", possibly followed by "Read events". Should Clear Events create any errors if it's issued when it shouldn't (like still having ten open forms), so at least the "run amok and catch the error" method can be used? I know I can try myself or look up the help, I actually want to know if someone tried it already and to what effect.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform