ScrollControlBase or Container.  Container is better for containing a
random set of children.

 

What is going to go in the remaining 300 pixels?  Do you want the
scrollbar to be 500 pixels tall or 200?  You might be able to leverage
viewMetrics depending on what you want.  The key is the call to
configureScrollBars.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of m.ar80
Sent: Monday, November 05, 2007 10:04 PM
To: [email protected]
Subject: [flexcoders] Extending ScrollControlBase to implement scrolling
for a custom component

 

What ScrollControlBase methods should be overridden to implement
scrolling for a custom component? For example, if I have a custom
component that has fixed dimensions of 500x500 and a variable viewable
area of let's say 200x200, which properties would need to be set?
Also, is extending ScrollControlBase the best way to implement
scrolling for a
custom component? Thanks.

 

Reply via email to