Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET TALK wierdness
Message
De
17/11/1999 18:11:21
 
 
À
17/11/1999 17:58:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00292168
Message ID:
00292173
Vues:
22
>All,
>
>Here's one that has me puzzled.
>
>The status of TALK is set ON when instantiating a new object?!?!?
>
>Any idea what gives?
>
>* Code pieces
>
>** MAIN PRG follows
>
> IF oSystem.MayLogin
> *
> ** Call Password Screen here
> *
> messagebox(set("talk") + " - Before oPass") <-- = OFF
> oPass = CREATEOBJECT("pw_check",oSystem)
> messagebox(set("talk")+ " - After oPass") <-- = OFF
>
> IF VARTYPE(oPass) = "O"
> *
> ** Valid Password Object Reference
> *
> messagebox(set("talk") + " - Before oPass SHOW") <-- = OFF
> oPass.SHOW()
> messagebox(set("talk")+ " - After oPass SHOW") <-- = OFF
>
>MAIN.PRG calls PW_CHECK
>
>** INIT Code follows
>
>LPARAMETERS oobject
>
>THIS.oSystem = oobject
>this.cID.controlsource = thisform.oSystem.LogonID
>
>messagebox(set("talk") + " - pw_check - INIT") <-- = ON !!!!??
>
>Any idea what gives.

Ok.. I just discovered that this is scoped to the datasession.

NEVERMIND!!! *g*

Stinking rinking rizzle frazzle frickle .. as he says in his best Yosemite Sam impression...

Best,

D
Best,


DD

A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform