Combo boxes and F-UI

Blitz3D Forums/Blitz3D Userlibs/Combo boxes and F-UI

Moraldi(Posted 2007) [#1]
Hi,
I am new to F-UI and I need to know how can I retrieve a value from a combo box after a user's selection
Thanks!


xmlspy(Posted 2007) [#2]
When you get an event just find what the event was and then get the value. Remember there are different calls for strings, ints, and floats.

I haven't coded in a while, so it goes somewhat like this:

Select bla
case combobox
FUI_SendMessage(combobox,M_GETVALUE, FUI_Sendmessage(combobox,M_SELECTEDINDEX))
end select