[Laszlo-user] ensureItemInView Issue
André Bargull
a.bargull at intensis.de
Mon Jun 11 15:23:43 PDT 2007
Not a bug, must be: "listDisplay.ensureItemInView( listDisplay.getItem(
txt.getText() ) )"
see also "http://forum.openlaszlo.org/showthread.php?t=9520"
> 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 ?
>> > *******************************************************
>>
--
Mit freundlichen Grüßen,
André Bargull
Intensis GmbH
Tel.: +49 (0)231 5522-900
Fax.: +49 (0)231 5522-901
E-Mail: a.bargull at intensis.de
________________________________
Intensis GmbH
Ruhrallee 9
44139 Dortmund
More information about the Laszlo-user
mailing list