donnacha Posted November 24, 2003 Posted November 24, 2003 Hi folks, I have a toolbar in my application that contains a dropdown button with an attached menu. The dropdown menu part works fine, but the button still acts as a button as when the main part of the button is clicked it generates a button clicked event like all the other buttons. Does anybody know how to stop this or how to get the button click to display the drop down menu in the same way as clicking the dropdown part of the button. Thanks :rolleyes: Quote Hamlet
*Experts* DiverDan Posted November 26, 2003 *Experts* Posted November 26, 2003 I usually make it only one button with the down arrow drawn on the toolbar button's icon image. Otherwise it'll be two separate buttons, one with a click event and one with a menu. Hope that helps Quote Member, in good standing, of the elite fraternity of mentally challenged programmers. Dolphins Software
donnacha Posted December 15, 2003 Author Posted December 15, 2003 Problem solved at last. It was based on the DropDownArrows parameter of the ToolBar instead of the type of individual button on the toolbar. When I set this parameter to false, I no longer get the dropdown arrow at the right of the button and clicking on the button shows the menu. Quote Hamlet
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.