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

Home » Public Forums » archive » Re: IDL, WIDGET_DROPLIST
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
Re: IDL, WIDGET_DROPLIST [message #5134] Tue, 03 October 1995 00:00
rmmoss is currently offline  rmmoss
Messages: 12
Registered: August 1995
Junior Member
Use WIDGET_CONTROL, id, SET_DROPLIST_SELECT=n to set the item shown in
a droplist widget. See the online help for WIDGET_CONTROL for the details.

------
Robert M. Moss, Ph.D.
Texaco Inc.
mossrm@texaco.com

This is not necessarily the opinion of Texaco Inc.
------

In article <1995Oct3.194408.1@sara.cc.utu.fi>, teittinen@sara.cc.utu.fi writes:
|> Hello,
|> I may be misunderstood, but seems like there is no possibility to select the
|> item to be shown in the creation of WIDGET_DROPLIST object. The now obsolete
|> procedure CW_BSELECTOR had a SET_VALUE-keyword with which it was possible to
|> determine the item to be shown just after a creation. So, any suggestions for
|> a cure?
|>
|> ::::::::::::::Matti Teittinen:::::::::::SRL, Univ. of Turku, Finland
|> teittinen@sara.cc.utu.fi
Re: IDL, WIDGET_DROPLIST [message #5135 is a reply to message #5134] Tue, 03 October 1995 00:00 Go to previous message
knighton is currently offline  knighton
Messages: 12
Registered: June 1995
Junior Member
In <1995Oct3.194408.1@sara.cc.utu.fi> teittinen@sara.cc.utu.fi writes:

> Hello,
> I may be misunderstood, but seems like there is no possibility to select the
> item to be shown in the creation of WIDGET_DROPLIST object. The now obsolete
> procedure CW_BSELECTOR had a SET_VALUE-keyword with which it was possible to
> determine the item to be shown just after a creation. So, any suggestions for
> a cure?

Try using:

WIDGET_CONTROL, widget_id, SET_DROPLIST_SELECT=index_of_desired_value

Ken Knighton, knighton@gav.gat.com, knighton@cts.com
Fusion Division
General Atomics
San Diego, CA
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to make an Icon ?
Next Topic: IDL, WIDGET_DROPLIST

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

Current Time: Wed Oct 08 11:51:08 PDT 2025

Total time taken to generate the page: 0.00646 seconds