• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

menu_array can't detect user selection

TheIronGolem

Well-known member
In a form I've made, I've hooked up a menu_array element to a component I wrote that includes the UserSelect component. XML for the element is:

Code:
<menu_array
  field="usrSelect"
  array="usrArray">
</menu_array>

This is pretty much verbatim from the sample file visual.dat, and it does correctly display the array options when I click on the menu:
14e758n.jpg


But it doesn't seem like the user selection is "sticking"; after I click on an option the menu blanks out and the value of usrIndex does not change:
2003ale.jpg


I feel like I'm missing something about how to communicate the user's choice to the menu_array element.
 
Back
Top