Thread: ListBox
View Single Post
  #10  
Unread 03-10-2005, 04:43 PM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

Just a thought (haven't tried this out) but I believe all selects refer to their items via index number/row number. You should be able to extract the selected item value with a refernece along these lines...

listName.SelectedRow.value

Where listName = the select object's name
value = the name of the data object field you want a value for.

SelectedRow should have its value set automatically to the index of the selected.

the following statement...
OnSelect="parent.LocalText=SelectedRow.Desc"

should set the parent's LocalText to the Desc field value of the data object matching the selected item.
Reply With Quote