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

Home » Public Forums » archive » Scroll bars in scalable draw widgets
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: Scroll bars in scalable draw widgets [message #11875 is a reply to message #11649] Wed, 27 May 1998 00:00 Go to previous message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
Anders Johannesson wrote:
>
> I'm looking for a way to work with a scalable draw_widget
> so that I can add scroll bars whenever the user scales the
> widget to something smaller than the image. In this application
> I don't want to scale the image.
>

If I *really* wanted this feature, I think I would do something
similar to what David Fanning suggests, except that I would make
the draw widget a separate popup that can be recreated with or
without scrollbars when the scaling is changed. That is, whenever
the user rescales the window such that scrollbars should appear/
disappear, the entire widget heirarchy for the popup draw widget
could be destroyed and recreated.

If the draw widget must be integrated within your application
widget, then you will probably have to live with IDL's default
behavior (either scrolls all the time or up to a given window size).

Hope this helps.

Dave
--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2240
La Jolla, CA 92037
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: vector overplot
Next Topic: Re: The Skinny on 24-Bit Color (Long)

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

Current Time: Sun Oct 12 20:19:31 PDT 2025

Total time taken to generate the page: 0.22446 seconds