Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
In trying to write a GUI interface for an existing program, I have found a problem using the droplist widget. The widget control doens't recognize the positioning is the lists so I end up with overlapping boxes. I tried x and y offsets but it didn't change the output. Has anybody else had problems with this and is there a fix available for it? Thanks, Julia Barsi Center for Imaging Science Rochester Institute of Technology
In article <32ED1320.41C6@cis.rit.edu>, Julia Barsi <jab5770@cis.rit.edu> writes: |>In trying to write a GUI interface for an existing program, I have found |>a problem using the droplist widget. The widget control doens't |>recognize the positioning is the lists so I end up with overlapping |>boxes. I tried x and y offsets but it didn't change the output. |> |>Has anybody else had problems with this and is there a fix available for |>it? Julia, could you post a piece of code to show the problem? Maybe I had a similar problem too. The solution was quite simple - I just added a new widget_base just for that widget. Hope that helps. Michel
In trying to straighten out the confusion regarding my request, I decided it would be much easier if you could look at the problem. I have put screen dumps of my problems on a web page: http://www.cis.rit.edu/academics/ist/idlhelp.html with the related code well as a more detailed decription. Thanks Julia Barsi
Julia, I checked your file, and I think, the problem is the ysize=1 in the call to widget_droplist. I also introduced three new base widgets (xxx1, xxx2 and xxx3) to get the temp buttons into one line with the droplists. I attach the modified code to this mail; the modified code lines are marked by @@@@@@@@@@@@@@@@@@@@@@@@@@@, so you may easyly find them. You should also use widget_control, set_button=1, <toggle_button_id> for the toggle button widgets to set an initial value. Best regards Michel begin 640 cardone.zip <uuencoded_portion_removed> ,```````````````` ` end