Great, In fact there's an even more simple solution: using CommandGroup.Value
You can use the Value property of a CommandGroup or OptionGroup control to determine which button in the group triggers an event. The Value property is set to an integer that indicates which button in the group caused the event. CommandGroup.Click() can detect the clicked button from .Value, without DindEvent(). Thierry Nivelet FoxinCloud Give your VFP app a new life in the cloud http://foxincloud.com/ Le 12 déc. 2013 à 00:33, Rafael Copquin a écrit : > Yes sir!!! > I tested it and it works! > Thanks again > Rafael Copquin > --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

