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
nvm I got it. I just needed to play around with ultrawintoolbars more. Just needed a popupmenutool inside the ultrawintoolbars and then on click ultraToolbarsManager1.Tools [ 0 ].ToolbarsManager.ShowPopup ( "popmenu" ); then I have specific events there
that's not really what I want. The user is only allowed one option, not a set of options. I just want to link a popupmenutool to one of the tools inside my ultratoolbarsmanager. So essentially if they click one of the tools, it will popup a set of options for them to choose from (but they can only choose one).
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.