I have a BarItem that I''m trying to use on a context menu (PopupMenu), a XPToolBar and as an XPMenu item. I''m wanting to use the same BarItem since I enable and disable access to it under certain circumstances and I didn''t want to duplicate code. In the Click event associated with this BarItem, is there any way that I can tell where the click came from - toolbar, popupmenu, etc?
ADAdministrator Syncfusion Team August 25, 2004 12:37 PM
I am afraid, presently it is not possible to to tell where the BarItem was clicked from. Could you please elaborate more on you requirements and what you wish to accomplish? We could then probably suggest you an alternate approach. We appreciate your continued interest in Syncfusion products.