Re: [Fxruby-users] Usage FXList : makeItemVisible
Status: Inactive
Brought to you by:
lyle
From: meinrad r. <mei...@gm...> - 2003-10-21 09:26:51
|
Dalibor Sramek wrote: > Hi. > > The method makeItemVisible takes a tree item as the argument - not the item > index. dalibor: where did you get this information? here is what the online documentation for FXList#makeItemVisible says ------------------------------------------------ makeItemVisible(index) Scroll to bring item into view. Raises IndexError if index is out of bounds. ----------------------------------------------- > Try replacing your code with: > > item7 = @lst.appendItem '7' > @lst.appendItem '8' > @lst.appendItem '9' > @lst.makeItemVisible item7 > > Regards, > > Dalibor -- henon > |