Hi Priyank,

There is one more solution for this.

Please see the image attached. I have a datagrid, container canvas and
scroll canvas.
If someone selects canvas and moves it scoll bar moves within limits of
container.
On mouseup we can fire an event to populate the datagrid. Remember still our
scrollbar (scroll bar canvas) remains at same position.

Is this solution ok with you then I will try and code this for you.

Best Regards,
Anand Kothalkar



On Tue, Sep 23, 2008 at 7:26 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

>
> Another simple solution is to use a skinned Slider. If you need a
> horizontal fixed size scrollbar use a Vbox, put the data view
> component as the 0th child and the HSlider as the first child. Keep 1
> Bindable variable which contains the MaxScroll position of the data
> view component. set that as the maximum of the slider. Now listen for
> the change event on the slider and in that event handler set the value
> of the horizontal scroll position of the data view component to the
> value of the slider. Make sure you round off the value as the value
> you get from the slider will be a Number. It helps the performance a
> bit. let me know how it works out.
>
> -Alok
>
> On Sep 23, 6:31 pm, "Anand Kothalkar" <[EMAIL PROTECTED]>
> wrote:
> > Hi Priyank,
> >
> > Just a thought. Speaking usability would it be good indication for the
> user
> > that more data has been populated if the scrollbar shrinks in height.
> > Otherways to solve is
> > 1) do away with scrollBar have mouse wheel event do scrolling for you
> > 2) Use a button like more when user clicks it. It takes you to next set
> of
> > results.
> >
> > Best Regards,
> > Anand kothalkar
> >
> > On Tue, Sep 23, 2008 at 6:29 PM, Priyank Kapadia <
> >
> > [EMAIL PROTECTED]> wrote:
> >
> > > Hello Everyone
> >
> > > I am building a scroll based pagination. Whenever new data comes from
> > > back-end, the size of the scroll bar reduces, from the usability
> > > perspective, i don't want that to happen. The ScrollBar length should
> > > always be constant.
> >
> > > Anybody knowing how to do this?
> >
> > > Regards
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

<<inline: scrollbar.JPG>>

Reply via email to