Ok, again pay no attention to costmetics at this point.
What I need is help with this line.
Quote:
|
<Listbox BackgroundOpacity="1.000" DataSource="EmotesSource" Location="12,23" Name="EmotesList" OnSelect="Parent.Parent.Parent.Current.SelectedItem" PackLocation="top,left" PackLocationProp="0012/0001,0023/0001" PackSize="absolute,absolute" PackSizeProp="0024/0001,0037/0001" RowTemplate="ListTemplate" ScrollExtent="77,544" Shear="0" Size="77,544" Style="ListStyle"/>
|
Here are the files.
If I use OnSelect="cruse"
it works, but of course selecting any item makes my character curse.
I need to know how to get the SelectedItem value into the OnSelect Event.
For the ListBox, SelectedItem is supposed to be a string value.
SelectedItemIndex updates the index number when the choices are selected in the UI Build. The SelectedItem should also shouldn't it?
This is going to be really nice when I finnish, but I don't want to continue work unless I know I can get it to function properly.
I could do this with buttons, but I surely don't want to.