Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: ho me
  Where is ho me?
 
 Philippines
 ho me
 To: Steven Rebello
  Where is Steven Rebello?
 Bangalore
 India
 Steven Rebello
 Tags
Subject: RE: BindEvents
Thread ID: 188512 Message ID: 189057 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Forms
Date: Wednesday, August 13, 2008 8:40:15 AM         
   


> >
> > Hi,
> >
> > I will share on how I understand it in a not so-technical way.
> >
> > Here it goes...
> >
> > It simply says, execute a particular method(4th parameter) when a certain event is/was fired.
> >
> > Lets take this code as example:
> >
> > do form form1
> >
> > Assuming in form you created method, 'OnActivate'
> >
> > At form1.init you have this code.
> >
> > =bindevents( THISFORM, 'Activate', THISFORM, 'OnActivate')
> >
> >
> > param 1 : Object ref where event(param 2) was fired.
> > param 2 : The event that is/was fired in/by param 1.
> > param 3 : Object ref where method( param 4 ) was defined.
> > param 4 : The method to be called/invoked by param 2.
> >
> > There is a param 5 but it is optional.
> >
> >
> > hth
>
>
>
> Hi Ho Me,
>
> Thanks very much to you and also to Mike, Yousfi, Surinder and Koen for your help in this regard.
>
> Although everyone was technically perfect,I must give you my rating for explaining it in the most 'easy to understand' manner.
>
> With best regards,
>
> Steve.


Your welcome.
Glad it helps.

ENTIRE THREAD

BindEvents Posted by Steven Rebello @ 8/10/2008 8:29:01 AM
RE: BindEvents Posted by Koen Piller @ 8/10/2008 9:07:35 AM
RE: BindEvents Posted by surinder singh @ 8/10/2008 10:13:57 AM
RE: BindEvents Posted by Yousfi Benameur @ 8/10/2008 11:17:48 AM
RE: BindEvents Posted by ho me @ 8/11/2008 12:46:53 PM
RE: BindEvents Posted by Steven Rebello @ 8/13/2008 4:26:02 AM
RE: BindEvents Posted by ho me @ 8/13/2008 8:40:15 AM
RE: BindEvents Posted by mike castillo @ 8/12/2008 7:14:03 AM
RE: BindEvents Posted by Steven Rebello @ 8/13/2008 4:30:13 AM
RE: BindEvents Posted by mike castillo @ 8/13/2008 4:55:52 AM