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

Home » Public Forums » archive » Re: ComboBox appearance
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: ComboBox appearance [message #40075] Fri, 09 July 2004 12:29 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
balogna writes:

> I define the combobox as such:
>
> dataSets = [info.fileList(0)]
> droplist2 = WIDGET_COMBOBOX(controlPanel, Value = dataSets, $
> UVALUE='select', /DYNAMIC_RESIZE)
>
> I added the /DYNAMIC_RESIZE keyword in an attempt to fix this issues but
> it made no difference to the dropdown part.
> Initially the combobox always contains just one element, and then more are
> added as the user loads files using the line:
>
> Widget_Control, state.dlist, COMBOBOX_ADDITEM=filename
>
> But when you add another item the dropdown list still only displays one
> option at a time with really tiny scrollbars on the side. Thanks for your
> time.

Humm. Yes, I see. I think I have heard of this before, but
it doesn't act this way in the Windows version I am using (6.03).
Hard to say if it is an IDL version problem or a Windows/X Windows
problem. I wonder if you could pass null string values to
the combobox when you initialize it so that it gets set to some
reasonable size initially? As you added items, you could delete
blank items. Ugly, though, even if it worked. :-(

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: ComboBox appearance
Next Topic: Bus error

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

Current Time: Wed Oct 08 14:59:17 PDT 2025

Total time taken to generate the page: 0.00225 seconds