Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
Determine toolclick source
posted

Hello,

I have a WinfForms dialog that presents the same drop-down menu options in two different areas - one within an UltraDropDownButton, and the other within the toolbar itself.

Even though both of these areas share a drop-down menu, I need to know which is the source within the ToolClick event.

Does anyone know how to do this? My original thought was that I could just set a flag when the dropdown button opens, and then reset it when it closes - but unfortunately it closes before the ToolClick event is fired, which makes that approach infeasible.

Any help would be greatly appreciated.