comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Widget_List question ...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Widget_List question ... [message #12670] Fri, 07 August 1998 00:00
darran is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Routine for correction of geom. deform.?
Next Topic: I need IDL for powermac....

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:04:59 PDT 2025

Total time taken to generate the page: 0.03919 seconds