# ItemRollOver-event of a listbox

**URL:** <https://forum.kirupa.com/t/itemrollover-event-of-a-listbox/112891>\
**Category:** Uncategorized\
**Created:** [June 12, 2004, 11:53am UTC](https://forum.kirupa.com/t/itemrollover-event-of-a-listbox/112891 "2004-06-12T11:53:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Athlon\_1400](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@Athlon\_1400](https://forum.kirupa.com/u/Athlon_1400)\
**Post date:** [June 12, 2004, 11:53am UTC](https://forum.kirupa.com/t/itemrollover-event-of-a-listbox/112891/1 "2004-06-12T11:53:20Z")

</div>

Hi there, I’m new here, hope you can help.

I’m using this code trying to get the item ‘rolled-over’ in a listbox.  
But it don’t work. My ‘Output window’ stays blank.

on (itemRollOver) {  
form.itemRollOver = function (eventObj) {  
trace(“Item #” + eventObj.index + " has been rolled over.");  
}  
listbox.addEventListener(“itemRollOver”, form);

What’s wrong here?  
Is there a good tutorial about the use of components in FMX 2004?

Thanks en greetz,  
Athlon 1400.
