On 2006-06-12, at 10:27 EDT, Matthew Cloy wrote: > I had a poke around at the prototype of the view class in the debugger > (LzView.prototype), and tried changing a few things > (like the default x coordinate for a view, and the default bgcolor) > but > newly created views didn't inherit my change, so I just gave up > and modified the source.
You are are probably being thwarted by the rather complex initialization of views. http://www.openlaszlo.org/lps-latest/docs/guide/views.html#d0e12682 We are working to simplify this in the Legal's branch. Would it not work for you to create a subclass of View that you use for all your dynamic instantiation that has the init method you need? _______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
