Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jignesh Parekh
  Where is Jignesh Parekh?
 Rajkot
 India
 Jignesh Parekh
 To: Bhushan Sahni
  Where is Bhushan Sahni?
 Jabalpur/Mumbai
 India
 Bhushan Sahni
 Tags
Subject: RE: BINDEVENT()
Thread ID: 288825 Message ID: 288836 # Views: 22 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Classes and Objects
Date: Friday, December 24, 2010 1:21:44 PM         
   


> > Hi All,
> >
> > I have a form and add Command Button at run time and Bind their Click event to my custom event, this run fine but how can I know in my custom event that which button was clicked?
> >
> > Regards,
> > Jignesh Parekh
> > --------------------------------------------------------------------------------------------------------------------------------
> > If better is possible, Good is not enough.
>
> Dear Jignesh,
>
> Hope this helps.
>
> in the binded method add these lines.
>
>
> AEVENTS(arrTest,this)
> MESSAGEBOX(arrtest[1,3])
> MESSAGEBOX(arrtest[1,2].name)
> 

>
>
> Regards
> Bhushan Sahni
> Eitzen Group (IT)
> bsh@eitzen-group.com
> Visual Foxpro a dream house for developers

Hi Bhushan,
Thanks for help.

Regards,
Jignesh Parekh
--------------------------------------------------------------------------------------------------------------------------------
If better is possible, Good is not enough.

ENTIRE THREAD

BINDEVENT() Posted by Jignesh Parekh @ 12/24/2010 12:46:09 PM
RE: BINDEVENT() Posted by tushar @ 12/24/2010 12:57:16 PM
RE: BINDEVENT() Posted by Jignesh Parekh @ 12/24/2010 1:20:05 PM
RE: BINDEVENT() Posted by Bhushan Sahni @ 12/24/2010 1:08:48 PM
RE: BINDEVENT() Posted by Jignesh Parekh @ 12/24/2010 1:21:44 PM