You'll need a dropdownbox, dropdownbox source, and a hidden button.
Example:
MyDropdownbox OnSelect='parent.MyCommandButton.OnPress=SelectedItem.command'
MyCommandButton
OnPress='SelectedItem.command'
<DataSource Items="parent.MyDropdownbox.SelectedItem.command" Name="MyDropdownSource">
<Data Name="PlaceHolderForPickOne" text="Pick One"/>
<Data command="someCodeHere1" Name="someCodeHere1" text="someFriendlyNamehere1"/>
<Data command="someCodeHere2" Name="someCodeHere2" text="someFriendlyNamehere2"/>
</DataSource>
|