On 3/2/07, Paul McNett <[EMAIL PROTECTED]> wrote:
> Antonio Dias wrote:
> > Hi,
> > I have two files: A.cdxml and b.cdxml.
> > In A I have a button and a grid that call b.cdxml by events.
> > I created a function in A ( def callb(self) ) that do this.
> > When I try to call it from the onHit event I get "no global named callb"
> > How can I solve this?
>
> It sounds like you need to say 'self.callb()' instead of just 'callb()'.
>

Yeah, I agree.  You are definitely out of scope or you misspelled the
function name but I'd be willing to bet it's a scope issue.

>
>
> _______________________________________________
> Post Messages to: [email protected]
> Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
>

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to