Add and select items on a list

Home Forums General Panels, Components, Macros Add and select items on a list

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #70335
    mdeca
    Participant
      • Topics: 5
      • Replies: 3
      • Total: 8

      Hi everybody

      I have a uiCombo to which I add items in LUA when the panel is initialized, with a loop like

      panel:getModulatorByName(modName1):getComponent():getOwnedComboBox():addItem(noteName, i)

      However, at runtime I can see that the list is populated but I cannot select any item.
      Is there a better way to add items to a list programmatically?

      #70337
      mdeca
      Participant
        • Topics: 5
        • Replies: 3
        • Total: 8

        Forget about it – it was a stupid mistake somewhere else in the code.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • The forum ‘Panels, Components, Macros’ is closed to new topics and replies.
      There is currently 0 users and 80 guests online
      No users are currently active
      Forum Statistics
      Threads: 2,495, Posts: 17,374, Members: 77,605
      Most users ever online was 12 on January 22, 2019 3:47 pm
      Ctrlr