HISE Logo Forum
    • Categories
    • Register
    • Login

    HOW I CHANGE THIS?

    Scheduled Pinned Locked Moved General Questions
    1 Posts 1 Posters 76 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      WepaAudio
      last edited by

      Hi, in this code that goes to a combobox it open the midi folder, but where I can change the root so it only show the midi name, in this one it start with the ("PROYECT FOLDER") before the midi name, I've tried to work in this part of the code but no success : ("items",b.join("\n")); , thanx!

      const var b = Player.getMidiFileList();

      const var ComboBoxM = Content.getComponent("ComboBoxM");
      ComboBoxM.set("items",b.join("\n"));

      inline function onComboBoxMControl(component, value)
      {
      Player.setFile(b[value-1], true, true);
      // Panel.repaint();

      };

      Content.getComponent("ComboBoxM").setControlCallback(onComboBoxMControl);

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      18

      Online

      1.7k

      Users

      11.9k

      Topics

      103.4k

      Posts