View Single Post
  #2  
Unread 11-11-2006, 11:32 AM
DeaDBeaT's Avatar
DeaDBeaT DeaDBeaT is offline
A Dragoon Sith
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Mistmoore
Posts: 99
Default

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>
Reply With Quote