i have a class defined like this.
class BlockField : public Component public Timer, public ButtonListener
I wanted this component to be scrolabble if needed so, assuming that i can do this not in a component but in ViewPort which is a subclass i changed this class to:
class BlockField : public Viewport, public Timer, public ButtonListener
in constructor i added: addAndMakeVisible (component = new BlockField());
but the scrolling is not happenning? any thoughts what am i doing wrong or what i should do?