[Laszlo-user] ensureItemInView Issue

Benjamin Shine ben at laszlosystems.com
Mon Jun 11 12:33:25 PDT 2007


Can you post a small example demonstrating this problem? You might  
have found a bug.
Thanks!
-ben

On Jun 11, 2007, at 6:07 AM, gaurav wrote:

> Hi List,
> Its must be really easy for but i having tough time figuring this  
> out , I need a pointer to move ahead ....i have completed my app  
> but I am stuck at this point ....pl help me ...I really want to add  
> my application to list of live application at laszlo website :-)
>
> I have made a list where I am adding new items dynamically
> listDisplay.addItem(txt.getText(), txt.getText());
>
> Problem is when no items overflow view last item added remains  
> hidden till I scroll it down
> but I want the latest item added to the list to displayed to  
> user ...so scrollbar should automatically go down ...and last entry  
> should to be selected .I tried this but i has no effect .....I am  
> not sure if i made some mistake
> listDisplay.ensureItemInView(txt.getText())
>
> Regards,
> Gp
>
> On 6/8/07, gaurav < gp at pagux.com> wrote:
> Hi fellow LaszloHeads,
> I have made a list where I am adding new items dynamically
> listDisplay.addItem(txt.getText(), txt.getText());
>
> Problem is when no items overflow view last item added remains  
> hidden till I scroll it down
> but I want the latest item added to the list to displayed to  
> user ...so scrollbar should automatically go down ...and last entry  
> should to be selected .I tried this but i has no effect .....I am  
> not sure if i made some mistake
> listDisplay.ensureItemInView(txt.getText())
>
>
> pl suggest
>
>
> Regards,
> Gp
> -- 
> **********************************************************
>
>                www.PaGux.com
>              Innovation Starts Here.
>
> new blog.pagux.com ....get to know Whats Cooking ?
> *******************************************************
>
>
>
> -- 
> **********************************************************
>
>                www.PaGux.com
>              Innovation Starts Here.
>
> new blog.pagux.com ....get to know Whats Cooking ?
> *******************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20070611/7bde212c/attachment.html


More information about the Laszlo-user mailing list