Page 1 of 1

Event when clicking on a listbox item

Posted: Tue Mar 07, 2006 13:35
by Crashy
Hello. I made a gui with a combobox, and event handlers when clicking on the items.

But now I would like to transform this to use a Listbox at the place of a combobox. How to do this? Listbox has no ComboBox::EventListSelectionAccepted an I need something like that. What is the equivalent for listbox?

Thanks.

Posted: Tue Mar 07, 2006 14:56
by martignasse
hi crashy,

the ListboxItem::EventSelectionChanged don't do the trick ?

there is no notion of 'accepted selection' for the listbox, you have the 'selection changed' instead.

hope it help.

Posted: Tue Mar 07, 2006 17:44
by Crashy
Thanks, for answer , that works fine!:)