Re: [Fxruby-users] RE: Fxruby-users digest, Vol 1 #234 - 6 msgs
Status: Inactive
Brought to you by:
lyle
From: Lyle J. <ly...@kn...> - 2004-06-26 12:15:00
|
On Jun 25, 2004, at 9:59 AM, DeZonia, Barry wrote: > Here is my initialization code: > > @output = FXList.new(outputFrame, 1, nil, 0, > > LIST_EXTENDEDSELECT|LAYOUT_FILL_X|LAYOUT_FILL_Y) > > Here is the code that updates the list: > > @output.appendItem(text) > @output.makeItemVisible(@output.numItems-1) > > No other calls to @output are made. The text does show up in the list > but > does not scroll onto the screen when the list goes past its capacity. > In > FXList.new I've tried 20 instead of 1 to no avail. Any suggestions? I hunted around a little more and then found this recent thread from the FOX users' mailing list: http://sourceforge.net/mailarchive/forum.php? thread_id=4950920&forum_id=6292 As discussed in those messages, let's see what happens if you add a call to getContentWidth() in-between the calls to appendItem() and makeItemVisible(). Hope this helps, Lyle |