> >
> >
> > i am trying to call a method of container class from a method of command class
> >
> > i created class using, CREATE CLASS .. command
>
> How does the container class know about the command class? Does it have a property that points to an instance of the command class? Are you passing a reference to an instance of the command class to the relevant method?
>
> If there's a property called, say, oCommand, then you'd:
>
>
> This.oCommand.MethodToCall()
>
>
> If you're passing a reference to the command object as a parameter and the parameter is called oCommand, you'd:
>
>
> oCommand.MethodToCall()
>
>
> Tamar
yes , that's i needed
how does the command class know about container class
usually in the form we drag the object and using it.