Konstantin.Solomatov
07-29-2007, 02:37 PM
Hello,
I want to wrap a component in a scrollbar. I tried to derive a class from ScrollControlBase and add a component to be wrapped to it but when its size reaches scroll bar limits ScrollControlBase doesn't change its own size. It appears that a wrapped component's size is 0.
Do anyone know where the mistake can be? Is there any simpler way to accomplish this task? For example, in Java wrapping component in a scroller is absolutely trivial: you just have to wrap it in JScrollBar instance. Does Flex have JScrollBar counterpart?
I use the latest version of flex (Moxie).
I want to wrap a component in a scrollbar. I tried to derive a class from ScrollControlBase and add a component to be wrapped to it but when its size reaches scroll bar limits ScrollControlBase doesn't change its own size. It appears that a wrapped component's size is 0.
Do anyone know where the mistake can be? Is there any simpler way to accomplish this task? For example, in Java wrapping component in a scroller is absolutely trivial: you just have to wrap it in JScrollBar instance. Does Flex have JScrollBar counterpart?
I use the latest version of flex (Moxie).