Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: prasanna kunder
  Where is prasanna kunder?
 mumbai
 India
 prasanna kunder
 To: Tamar Granor
  Where is Tamar Granor?
 Elkins Park
 Pennsylvania - United States
 Tamar Granor
Subject: RE: How to Class From Class
Thread ID: 436702 Message ID: 436772 # Views: 52 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Wednesday, May 18, 2016 3:25:29 PM         
   



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

ENTIRE THREAD

How to Call Class From Class Posted by prasanna kunder @ 5/16/2016 7:30:11 PM
RE: How to Class From Class Posted by Tamar Granor @ 5/16/2016 11:16:18 PM
RE: How to Class From Class Posted by prasanna kunder @ 5/17/2016 6:36:02 AM
RE: How to Class From Class Posted by Tamar Granor @ 5/17/2016 10:24:56 PM
RE: How to Class From Class Posted by prasanna kunder @ 5/18/2016 3:25:29 PM
RE: How to Class From Class Posted by Tamar Granor @ 5/18/2016 10:51:25 PM
RE: How to Class From Class Posted by prasanna kunder @ 5/21/2016 9:12:42 PM
RE: How to Class From Class Posted by Tamar Granor @ 5/23/2016 11:37:31 PM
RE: How to Class From Class Posted by prasanna kunder @ 5/28/2016 5:43:01 PM
RE: How to Class From Class Posted by Pavol Kazimir @ 5/28/2016 6:13:06 PM
RE: How to Class From Class Posted by Pavol Kazimir @ 5/28/2016 6:34:21 PM
RE: How to Class From Class Posted by Vilhelm-Ion Praisach @ 5/19/2016 8:38:11 AM