Re: IDL, WIDGET_DROPLIST [message #5134] |
Tue, 03 October 1995 00:00 |
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  |
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
|
|
|