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

Home » Public Forums » archive » Resetting a DRAW widget to have new size/scroll area...?
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
Resetting a DRAW widget to have new size/scroll area...? [message #3075] Fri, 04 November 1994 13:45
meo is currently offline  meo
Messages: 6
Registered: November 1994
Junior Member
This is fern, I have had the same exact problem, I solved it by a simple
command that is not documented in the IDL manuals that we have here
at the lab. try the commmand:

WIDGET_CONTROL,parent,XSIZE=newsize,YSIZE=newysize

IMPORTANT THAT the draw widget has been created with scroll bars of a fixed
length. So after an area has been used, than if you want to change the
the draw size, use the above command, works like a charm! It's amazing that
the IDL manuals don't specify that WIDGET_CONTROL procedure can have
XSIZE,YSIZE as key words, go figure.

Try it and let me know. We have IDL version 3.5, so at least it works for that version.


Good luck! and give some feedback.

CIAO
Fern...
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Digital filter question
Next Topic: multiplot solution

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

Current Time: Wed Oct 08 17:40:36 PDT 2025

Total time taken to generate the page: 0.00540 seconds