Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: tushar Kanvinde
  Where is tushar Kanvinde?
 Kolhapur, Maharastra
 India
 tushar Kanvinde
 To: Jignesh Parekh
  Where is Jignesh Parekh?
 Rajkot
 India
 Jignesh Parekh
 Tags
Subject: RE: BINDEVENT()
Thread ID: 288825 Message ID: 288827 # Views: 34 # Ratings: 1
Version: Visual FoxPro 9 SP2 Category: Classes and Objects
Date: Friday, December 24, 2010 12:57:16 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.

Check the AEVENTS function.

=AEVENTS(laEvent,0)
laEvent[1] will give the source

Regards
Tushar

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