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
485
dropdown list of possible options using ultrawintoolbars
posted

Hi,

I have an ultratoolbarsmanager that contains a set of tools. I wanna know if it's possible for a tool to contain different options.

Pretty much, I just want to have like a dropdown options list to show when the tool is clicked and then from there select which option to proceed.

Regards,

Aaron

Parents
  • 44743
    Suggested Answer
    posted

    I assume these are mutually exclusive options and you would like an indicator next to the selected option. Create a PopupMenuTool. For each option available, add one StateButtonTool to the PopupMenuTool. On the UltraToolbarsManager, edit the OptionSets property and add an OptionSet. Select each StateButtonTool you have added and set its OptionSet property to the OptionSet you added on the UltraToolbarsManager. Now only one option can be selected at a time and you will get a ToolClick event when a new option is selected.

Reply Children