[Laszlo-dev] What do you know about scrollbar and scrolltrack?

Henry Minsky henry.minsky at gmail.com
Tue Feb 12 18:47:45 PST 2008


The comment at the start of the file says

    <!--- Contains non-visual aspects of a scrollbar. Subclasses are
expected to
          define this.thumb and this.scrolltrack to reference the views that
          perform those functions. -->

and in components/lz/scrollbar, I see a view named "scrolltrack" defined
inside of a state.
So maybe the state isn't getting applied until too late? It says

    <state apply="${parent.axis == 'y'}">

so a constraint fires it to apply...


On Tue, Feb 12, 2008 at 6:49 PM, P T Withington <ptw at pobox.com> wrote:

> I'm doing some massive compiler changes and getting errors testing
> window components.  I get this warning:
>
> WARNING @base/basescrollbar.lzx#337: reference to undefined property
> 'scrolltrack'
>
> which indicates to me that either the scrolltrack is not getting
> instantiated, or it is getting instantiated too late.  Is there
> something funny about how scrolltrack is created that I should be
> looking for?
>



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20080212/f55fae9b/attachment.html


More information about the Laszlo-dev mailing list