Robin wrote:
> for some reason I can't understand, the this.addSubview call seems to add the
> hrule to the canvas, rather than the view that contains the layout. This means
> that if I move the view away from x=0, y=0, the lines don't shift with it. How
> can I make the layout add things to the view?
OK, while poking through the docs I found the bit that said that you can't
call addSubview directly to add a subview. Unfortunately, that part of the
documentation doesn't go on to say what you can do to add a subview
programmatically. Is it just a matter of adding it to the subviews array of
the view, and removing it from that of canvas? Or is there more to it than that?

Thanks, Robin.
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to