Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IsREADEVENTS()
Message
 
 
À
28/07/2002 14:27:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00683273
Message ID:
00683373
Vues:
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?

Maybe you can check program calling stack?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform