Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: mastergepp on August 19, 2006, 09:15:58 PM

Title: MUI - ListObject - MUIM_List_Jump
Post by: mastergepp on August 19, 2006, 09:15:58 PM
Hello all,

new here, *skipping boring presentation*, im a n00b amiga programmer, i want a ListObject to autoscroll to the last inserted item (ie. after MUIM_List_InsertSingle or MUIM_List_Insert and when the items are more than the visible area) i've found a way with MUIM_List_Jump, is this the correct way ?

Thanks.
Title: Re: MUI - ListObject - MUIM_List_Jump
Post by: r-tea on August 19, 2006, 10:04:27 PM
Welcome

Just looked to MUI autodocs...
IMHO your choice is good. :) After your list autoscroll to the item you may also make it selected/active using MUIA_List_Active.

Just curious what kind of app you're making? :)
Title: Re: MUI - ListObject - MUIM_List_Jump
Post by: itix on August 19, 2006, 11:03:39 PM
It is correct. Jump to the last item and listview is updated accordingly.
Title: Re: MUI - ListObject - MUIM_List_Jump
Post by: mastergepp on August 19, 2006, 11:14:35 PM
Thank you both.

r-tea, im trying to make an ftp client.
Title: Re: MUI - ListObject - MUIM_List_Jump
Post by: r-tea on August 29, 2006, 08:18:05 AM
Wish you luck and lots of time, patience and stamina.

Oh... I almost forgot about a lot of crisps bags on your desk or whatever you prefer  :-)