Hi Alex, Thanks for the reply, I'll try that. I think I can also achieve this by creating custom Container, Box and VBox, by just changing package in container for Scrollbar, but that will not solve the problem because then if my application contains other scrolable container, e.g. list then i also have to customize them :p . I'll try your solution and see.
Ajay Chhaya --- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote: > > That's a good enhancement request. > > > > If you know the scrollbar should be visible, you can try to switch the > verticalScrollPolicy to "on" after you set verticalScrollBar. Something > like that might work. > > > > ________________________________ > > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of ajayflash > Sent: Wednesday, March 07, 2007 4:07 AM > To: [email protected] > Subject: [flexcomponents] Asigning customized scrollbar to containers > > > > Hi all, > > I'm want to customize Scrollbar, e.g. change the position of the top > arrow button next to bottom arrow button. > > I tried a few things but its > not working. I know it cant be done with style or programmatic skins. > I will create custom Scrollbar, but the problem is to attach that > scrollbar to the containers. I tried to change verticalScrollBar > property of VBox but it doesn't work because I saw the implementation > of verticalScrollBar setter in Container class which does nothing > except to change the variable. > I thought about creating a customized VBox component and set the > verticalScrollBar there but that also wont work because in Container > class, verticalScrollBar gets created and deleted through functions > "createScrollbarsIfNeeded", createOrDestroyScrollbars. and these > functions are private so I cant override them :( > can anyone suggest how can I achieve this? >
