Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IsREADEVENTS()
Message
From
28/07/2002 14:27:58
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00683273
Message ID:
00683361
Views:
24
>>I'm Using VFP7.0 SP1
>>Is there any function that will tell me if a READ EVENTS is in effect?
>
>AFAIK, there's no such function in VFP. Why do you need to know that?
>You can add a property to store that info.
_Screen.Addproperty("lReadEvents", .F.)
>_Screen.lReadEvents =.T.
>READ EVENTS
>_Screen.lReadEvents =.F.
>Why do you need to know that?
I have a client who frequently does his own "programming" in VFP. He usually has a "Read Events" in effect so his employees don't have a command window, but he works on a separate terminal without a "Read Events". He never seems to do things the same way twice, so I've been unable to set up any kind of flag that lets me know that it's him that is the user.

In my "On Error" procedure, I have "RETURN TO MASTER". I'm trying find a way of determining whether there is a "Read Events" in effect, so I can just "CANCEL" instead. I've thought about checking "WVISIBLE('Command')", but sometimes he manages to get a command window showing even though the "READ EVENTS" is in effect.

Any ideas?
Bill Morris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform