Listbox.change

I have this listbox with some table data displayed. When the user moves the listindex I want the specific record corresponding with the row to be fetched from the database.

I noticed that the change event is not triggered by a change of the listindex. I got it working when the user clicks the mouse, no problem, but I want the same procedure when the listindex is moved by using the cursor keys. I tried the listbox.keydown even but I couldn’t read the key code.

How to do this?

I just wrote a quick program and I get a change event when I update the list index in code or via the cursor keys on a mac and 2013r3.3. This is in accordance with the docs: http://documentation.xojo.com/index.php/ListBox.Change

Not sure what could be causing your problem.

Jim

The change event is not called in windows when moving the cursor keys.

[edit: overlooked stupid error]