<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Can you post a small example demonstrating this problem? You might have found a bug. <DIV>Thanks!</DIV><DIV>-ben</DIV><DIV><BR><DIV><DIV>On Jun 11, 2007, at 6:07 AM, gaurav wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Hi List,<BR>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 :-) <BR><BR>I have made a list where I am adding new items dynamically <BR>listDisplay.addItem(txt.getText(), txt.getText());<BR><BR>Problem is when no items overflow view last item added remains hidden till I scroll it down <BR>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 <BR clear="all">listDisplay.ensureItemInView(txt.getText())<BR><BR>Regards,<BR>Gp<BR><BR><DIV><SPAN class="gmail_quote">On 6/8/07, <B class="gmail_sendername">gaurav</B> <<A href="mailto:gp@pagux.com"> gp@pagux.com</A>> wrote:</SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi fellow LaszloHeads,<BR>I have made a list where I am adding new items dynamically <BR>listDisplay.addItem(txt.getText(), txt.getText());<BR><BR>Problem is when no items overflow view last item added remains hidden till I scroll it down <BR>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 <BR clear="all">listDisplay.ensureItemInView(txt.getText())<BR><BR><BR>pl suggest <BR><BR><BR>Regards,<BR>Gp<BR><SPAN class="sg">-- <BR>**********************************************************<BR> <BR> <A href="http://www.PaGux.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> www.PaGux.com</A><BR> Innovation Starts Here. <BR><BR>new <A href="http://blog.pagux.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">blog.pagux.com</A> ....get to know Whats Cooking ? <BR>******************************************************* </SPAN></BLOCKQUOTE></DIV><BR><BR clear="all"><BR>-- <BR>**********************************************************<BR> <BR> <A href="http://www.PaGux.com">www.PaGux.com</A><BR> Innovation Starts Here. <BR><BR>new <A href="http://blog.pagux.com">blog.pagux.com</A> ....get to know Whats Cooking ?<BR>*******************************************************</BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>