Thread: ListBox
View Single Post
  #3  
Unread 03-09-2005, 02:14 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

Quote:
Originally Posted by Deathbane27
Popup.ZoneTeleporter uses a Listbox. I don't know whether it's possible to make a selection change color when you hover over it.
Thanks I'll check that out.

As far as making the color change on hover. That's pretty easy.
If you look at the latest version of the NightVision mod the picture changes color when you have it on (Green) and when you have it off (red)
I used the same picture (green) in our .dds file.
The put a color modifier in the OnSet and OnUnSet function.
I'm sure it would work the same way for the on hover event.

I'll check into this XML. thanks for the feedback.
I thin I was just very, very tired yesterday.
It's MUCH easier than using different color images.

Quote:
OnHoverIn="size=22,22" OnHoverOut="size=21,21" OnSet="r_flat_ambient=true r_flat_ambient=true Color=#2BFD60" OnUnset="r_flat_ambient=false r_flat_ambient=false Color=#FF0000" r_flat_ambient="false"
Reply With Quote