You are looking for LzView.sendInFrontOf

On 2006-10-12, at 10:53 EDT, Matthew Cloy wrote:

> Hi,
>
> I have an application in which I create views in script using the new
> operator.
>
> var myNewView = new MyClass(parent..);
>
> When using layouts (and other circumstances?) I have to be careful of
> the order the views are created to get the correct order in the  
> layout.
> The thing I need to be able to do is to create a new view between two
> existing views.
>
> For a simplified example I have two lines of text (which look like  
> follows)
>
> <view id="someView">
>     <text name="view1" text="Hello"/>
>     <text name="view2" text="World"/>
>     <simplelayout axis="y"/>
> </view>
>
> and I need to in script insert a third line of text
>     var newText = new text(someView,{text:"There"});
>
> The problem is that I need the new text between view1 and view2,  
> how can
> I achieve this?
>
> Thanks
> Matt
>
>
>
>
> _______________________________________________
> Laszlo-user mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user


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

Reply via email to