Thread: ListBox
View Single Post
  #16  
Unread 04-21-2005, 11:59 AM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default

Ok, so here is a good puzzle for you guys.

I got a list box working, AND! Figured out a way to have a mouseover graphic per listbox item.

One small wierd thing.

ListBox Item 1 does not want to work.

Quote:
Onpress="parent.Listbox.SelectedItemIndex=1"
Does not want to work AT ALL.
EVERY other item is working fine. It's only box Number1 that has the problem.
Any button that I put that script in will not run the script for box number 1.
I can put any emote I want in there, it won't work.

parent.Listbox.SelectedItemIndex=*

Where * is any other number but "1" works.

I tried using 1.0 but any decimal numbers break the script all together.

here is an example of what I'm talking about.
Every Emote works except the one in slot 1.

I guess I'll just have to use some dummy values and start the list at 2 instead of at 0. And have the dummy list items 0 and 1 hidden.
Attached Files
File Type: xml eq2ui_mainhud_socials.xml (53.1 KB, 369 views)
File Type: xml eq2ui_emoteslist_template.xml (459 Bytes, 394 views)
__________________
Kosmos
Qeynos Ranger (Retired)
Lucan D'Lere
Reply With Quote