CW_BGROUP and scrolling [message #54940] |
Wed, 25 July 2007 03:25 |
kidpix
Messages: 23 Registered: July 2007
|
Junior Member |
|
|
Hi,
this my first time around here, so hello to all!
Now the question :
I'm in trouble in my long program using the CW_BGROUP instruction.
When I try to build up a scrollable list of NONEXCLUSIVE button
everything goes fine up to about 50 elemnt list, above this number I
don't see the scroll bar anymore (I need a 200 element list and I
want scroll it).
The code is:
[...]
list_widget = CW_BGROUP( BASE ,name_ list ,column=1,/
NONEXCLUSIVE,UVALUE= 'name list',$
/SCROLL,Y_SCROLL_SIZE=400)
[...]
I also take a look of CW_BGROUP code (in /RSI/lib/), but the useful
fragment code iI've found s
[...]
; The actual button holding base
base = WIDGET_BASE(next_base, COLUMN=column, EXCLUSIVE=excl,
FRAME=frame, $
NONEXCLUSIVE=nonexcl, ROW=row, SCROLL=scroll, SPACE=space, $
XPAD=xpad, XSIZE=xsize, X_SCROLL_SIZE=x_scroll_size, $
YPAD=ypad, YSIZE=ysize, Y_SCROLL_SIZE=y_scroll_size, $
EVENT_FUNC='CW_BGROUP_EVENT', $
UVALUE=WIDGET_INFO(top_base, /child))
[...]
where /SCROLL keyword is passed to WIDGET_BASE.
There is no mention for list length limit in documentation....
Thank you,
Mario
|
|
|