>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.