combobox : dynamic populate + dynamic action

  • Hi,

    Here is the function to populate my combobox:

    It populates well the titles, but when it come to action, it always try to load scene from the current i value, that is to say when you select an item, i always = scene.count+1.

    How to do in order to have the item action to load the selected pano?

    Thanks!

  • Hi,

    get passed action 'get(scene[get(i)].title)' will be resolved then the item was clicked,
    but then at this time, the 'i' variable is scene.count+1 of course,

    to change that build the correct calling string and pass that,

    e.g.

    best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!