I’m trying to use a Viewport to view a bunch of table components, sometimes at the same time. These tables contain amp values for envelopes, sound files etc…and are superimposed on top of one another, with different alpha levels for transparency. Using the mouse the user can zoom in/out and the Viewport adds a horizontal scoll bar etc, and the table gets repainted.
However only the top table changes, and I obviously need them all to zoom at the same rate. Is this because the ones underneath are not receiving the mouse events or can the Viewport only really show one component at one time?
As each table gets added I use the following in the Viewport component, this->setViewedComponent (table, false);
Even though I can see through the top table (because of the alpha level), I’m not sure if the viewport “knows” about the tables underneath the top one?