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
465
UltraToolbarsManager DropDownArrowStyle Issue
posted

Hi

Im not sure if the following is possible. I currently have a popup menu which can have a single optiion or many. For example I have a "Create Record" menu. In some situations (driven by data) there are many different ways to create a record so we have "create record" as a popup with the options. I have made this a segmented popup so that a click of the popup menu means a selection of the first button in the popup's tools collection.

That works well. In many situations there is only a single option and it is something generic. For example the single button tool under "Create Record" is "Create Record". I would like to make this single button invisible so that the "Create Record" popup menu looks and behaves like a button. I can get this working nicely as long as I set Visible to FALSE on the button and the button is enabled.

I have made the popup segmented so this works and stopped the dropdown arrow from doing anything with a beforetooldropdown event. How do I get rid of the popup arrow altogether? I want to be able to get rid of it in these sutuations. Is this possible with a drawfilter? Settings the dropdownarrowstyle to None seems to imply Standard and anythig other than segmented does not raise a toolclick event on the popup which I need to emulate a button.

Any help is greatly appreciated. 

Thanks

Darren