Thanks, but this needs more than RTFM. I have been over and over https://www.juce.com/doc/classValueTree and it seems to say it will do it, but my attempts give nothing.
To make it simple, I am trying to work with the ValueTreesDemo.cpp as part of the Demo example. I have added this to the class:
class ValueTreesDemo : public Component, public DragAndDropContainer, private ButtonListener, private MouseListener, private Timer
Then added this:
void mouseUp ( const MouseEvent &ev ) override
int x = 1;
x += 3; // set breakpoint on this line
The int x stuff is simply so Studio will give me a breakpoint.
I run the demo and the ValueTree is populated the way I desire but clicking, with right or left does not hit my breakpoint. I know there is no bug and that I am not doing it properly. I am hoping someone can show me the code to get mouse clicks in that ValueTreeDemo. Thanks in advance.
FYI, I am porting a C# app and it gives me hover, mouse up, mouse down, and mouse move. All I need here is mouse up, but most likely once I figure that out, the others will be easy.