ComboBox Menus and Tags
Posted: Thu Jun 09, 2011 7:06 am
It seems that the menu attached to a combobox doesn't support the use of a hidden tag value as other menus do. At least my attempts to use the tag syntax (/| - empty accelerator, pipe, and then tag text), did not result in a hidden tag value. 
I've come up with a way to do it by putting the display values into the combobox button, and the values I want hidden into a custom property of the combobox, and then finding the proper value in the custom property, and using that in the menupick handler.
Is there a better* way?
* - for various definitions of 'better', i.e. more elegant, efficient, maintainable, whatever.

I've come up with a way to do it by putting the display values into the combobox button, and the values I want hidden into a custom property of the combobox, and then finding the proper value in the custom property, and using that in the menupick handler.
Is there a better* way?
* - for various definitions of 'better', i.e. more elegant, efficient, maintainable, whatever.