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

Home » Public Forums » archive » Re: Clearing widget_list of all entries
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Clearing widget_list of all entries [message #18937] Thu, 17 February 2000 00:00 Go to previous message
Robert Weiss is currently offline  Robert Weiss
Messages: 5
Registered: February 2000
Junior Member
David Fanning wrote:

> Robert Weiss (weiss@mpia-hd.mpg.de) writes:
>
>> Does anyone of you know a way to clear a widget_list of all items ?
>> Using widget_control with set_value doesn't work since no string arrays
>> of zero
>> length are permitted in IDL.
>
> I should think Widget_Control, listWidgetID, Set_Value="" would
> do pretty much what you want. With, perhaps, some kind of
> check in the list event handler to not respond to any
> event that generated a null string for a value.

That's quite similar to what I did already (setting sensitivity to 0 for
lists containing only an empty string)
... I just felt it would be a nice (and logical) feature for
a list widget to be "emptiable" ;-) ... AND zero length arrays would come
in handy for a couple
of other problems as well (does anyone at RSI read this newsgroup?),

however, thanks a lot,
Robert.
[Message index]
 
Read Message
Read Message
Previous Topic: Re: vector print bug ?
Next Topic: Clearing widget_list of all entries

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

Current Time: Fri Oct 10 10:07:35 PDT 2025

Total time taken to generate the page: 0.48674 seconds