Using Tabs

I want to use two tabs for my interface and I think TabbedComponent might just do trick. Unfortunately, I keep getting this error

constructor for ‘XProcessorEditor’ must explicitly initialize the member ‘tab’ which does not have a default constructor

how do I do this?

The tabbedComponent requires an orientation argument . . .

TabbedComponent (TabbedButtonBar::Orientation orientation)

… so you need to instantiate your tab with either


edit: Yeah, I got it, I wrote it where I initialized the other ones. Thanks again!

Thanks for your answer, I read about the orientation. The problem is I don’t know where specifically to initialized it. I had no trouble with buttons, sliders etc, just with this one.

ps: it’s my second day using Juce, so I’m not very familiar with it.