In your reply to me, you provided the following code fragment:
>
CLEAR
x=CREATEOBJECT("someClass")
? x.oInner
x.show(1)
DEFINE CLASS someClass AS Form
ADD OBJECT PROTECTED oInner AS TextBox
PROCEDURE init
BINDEVENT(this.oInner,"Click",m.thisform,"delegate")
PROCEDURE delegate
DEBUGOUT PROGRAM()
PROCEDURE error
lparameters a,b,c,d
? MESSAGE()
ENDDEFINE
>
Fabio, I don't think this will work. I didn't copy and paste your code to test it, but I think you're looking at the genesis of my problem in the first place: BINDEVENT won't be able to see oInner since it's PROTECTED. BINDEVENT seems to require that all participants be public.
Now, the visibility issue (i.e. the exposure of oInner) is a separate issue, and that one concerns me. I'll spend a little time tonight exploring that one.
Eric