flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jude <flexcapaci...@gmail.com>
Subject Re: ensureCellIsVisible for real
Date Sat, 27 Jul 2013 17:13:51 GMT
I found maxVerticalPosition on Scroller but it is marked private. there is
probably a good reason for it.

On Saturday, July 27, 2013, mark goldin wrote:

> Will give it a try.
>
>
> On Fri, Jul 26, 2013 at 11:04 PM, jude <flexcapacitor@gmail.com> wrote:
>
> > What are you using for development? Flash Builder or Intellijent? I ask
> > because it allows you to type a class and then autocomplete will help
> find
> > the properties on that class. Although, I didn't find
> > maxSomethingScrollPosition in any of the places I looked either. I
> remember
> > this information changed from Flex 3 to Flex 4.
> >
> > How about something like this,
> >
> >                 scroller.viewport.verticalScrollPosition =
> > scroller.viewport.contentHeight; // or 100000
> >
> >
> >
> > On Thu, Jul 25, 2013 at 3:45 PM, mark goldin <markzolotoy@gmail.com>
> > wrote:
> >
> > > Well, even that does not help because my question was how to set a
> > scroller
> > > to its bottom position. But the scroller does not have
> > > maxHorizontalScrollPosition
> > > property that would have a value to set its verticalScrollPosition to.
> My
> > > screen is pretty complex. All I want as what a user is doing -
> scrolling
> > it
> > > all a way to the bottom. That's what I want to do in my code.
> > >
> > >
> > > On Thu, Jul 25, 2013 at 3:20 PM, Jesse Ward-Karet <jwk@tanium.com>
> > wrote:
> > >
> > > > http://lmgtfy.com/?q=maxVerticalScrollPosition+site%3Ahelp.adobe.com
> > > >
> > > > On Jul 25, 2013, at 1:11 PM, mark goldin <markzolotoy@gmail.com>
> > wrote:
> > > >
> > > > > I did, a scroller does not not have it, but scroller is what seems
> to
> > > be
> > > > > the correct target to play with.
> > > > >
> > > > >
> > > > > On Thu, Jul 25, 2013 at 3:08 PM, Alex Harui <aharui@adobe.com>
> > wrote:
> > > > >
> > > > >> Apparently nobody has this answer memorized so you'll have to
look
> > it
> > > up
> > > > >> in the documentation.
> > > > >>
> > > > >> On 7/25/13 10:37 AM, "mark goldin" <markzolotoy@gmail.com>
wrote:
> > > > >>
> > > > >>> Which control maxVerticalScrollPosition property is of? A
> scroller?
> > > > >>>
> > > > >>>
> > > > >>> On Thu, Jul 25, 2013 at 12:27 PM, Alex Harui <aharui@adobe.com>
> > > wrote:
> > > > >>>
> > > > >>>> maxVerticalScrollPosition
> > > > >>>>
> > > > >>>> On 7/25/13 9:55 AM, "mark goldin" <markzolotoy@gmail.com>
> wrote:
> > > > >>>>
> > > > >>>>> Is there a way to position a scroller to its bottom
without
> > > figuring
> > > > >>>> out
> > > > >>>>> what a verticalScrollPosition value could have been?
> > > > >>>>>
> > > > >>>>>
> > > > >>>>> On Thu, Jul 25, 2013 at 11:52 AM, Alex Harui <aharui@adobe.com
> >
> > > > wrote:
> > > > >>>>>
> > > > >>>>>> If that "screen" is in a scroller, in theory
you just set
> > > > >>>>>> verticalScrollPosition of the scroller to the
DataGrid's y
> value
> > > to
> > > > >>>> snap
> > > > >>>>>> the DG to the top of the viewport.
> > > > >>>>>>
> > > > >>>>>> On 7/25/13 9:47 AM, "mark goldin" <markzolotoy@gmail.com>
> > wrote:
> > > > >>>>>>
> > > > >>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message