Widget_List question ... [message #12670] |
Fri, 07 August 1998 00:00 |
darran
Messages: 3 Registered: August 1998
|
Junior Member |
|
|
By initiating Widget_List without a value field, viz.
list = widget_list(base)
I obtain a list box with no selectable items - fine.
However, if I now add some elements to the listbox, it
doesn't seem possible to get back to this "null" state.
I've tried to get back to a null list via calls like
widget_control, list, set_value=ptr_new()
widget_control, list, set_value=strarr(0)
widget_control, list, set_value=strarr()
with no success. The following gives a selectable
blank:
widget_control, list, set_value=''
Since IDL doesn't allow one to query the value of
a widget_list, I cannot extract the initial value
and discover its type.
Darran.
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
|
|
|