Listbox example? #754
Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
|
Depending on the object you will have some properties in which you can enter a method. You can find that and more "mods" in the Juce API documentation |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
EDIT
I am trying to display a pop-up list box that contains a list of save destinations.
More specifically -- I can create a uiListBox and populate it with a list. However, I can't seem to find a way to stop the current processing and wait for a user selection and then continue with the selected value. The box can be hidden or shown, but it's "just there" rather than pausing and waiting for a selection.
EDIT 2
worked it out by moving calls around. The issue is that I probably don't fully understand synchronization/timing/blocking calls/sleep()/etc well enough. I was trying to populate a list, then prompt the user, then send MIDI. I was trying to do those steps in sequence inside the same method. What was happening was the list population was taking some time , the dialog popped up before the list was done and the MIDI call was sent before the user selected anything from the list.
By moving the call to sendMIDI inside the method handling the list box, I was able to serialize things the way I wanted.
I think at some point in time, I want to temporarily hire one of you veteran Ctrlr programmers to look over my code and suggest any/all cleanup & optimizations that make sense.
thanks
Beta Was this translation helpful? Give feedback.
All reactions