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());
component->setScrollBarsShown(true, true);
component->setScrollBarThickness(10);
component->setVisible(true);
but the scrolling is not happenning? any thoughts what am i doing wrong or what i should do?
Thank you
Dee
