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

Home » Public Forums » archive » Re: setting text in editable combobox widgets
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: setting text in editable combobox widgets [message #83762] Thu, 21 March 2013 01:09
Andreas Rabe is currently offline  Andreas Rabe
Messages: 4
Registered: March 2013
Junior Member
here is the code example that uses the workaround:

pro test_combobox
tlb = widget_base()
value = ['a', 'b', 'c']
combobox = widget_combobox(tlb, Value=value, /EDITABLE, XSIZE=200)
widget_control, /REALIZE, tlb
widget_control, combobox, COMBOBOX_ADDITEM='hello world', COMBOBOX_INDEX=0
widget_control, combobox, SET_COMBOBOX_SELECT=0
end
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: setting text in editable combobox widgets
Next Topic: algorithm question. Can I get rid of the for loop?

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

Current Time: Wed Oct 08 19:05:08 PDT 2025

Total time taken to generate the page: 0.11103 seconds