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

Home » Public Forums » archive » Re: Widget_Draw scrollebe but not scrollable ??
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: Widget_Draw scrollebe but not scrollable ?? [message #44010] Thu, 12 May 2005 05:34 Go to next message
Antonio Santiago is currently offline  Antonio Santiago
Messages: 201
Registered: February 2004
Senior Member
>
> This is not really possible. But sometimes there are tricks:
>
> http://www.dfanning.com/widget_tips/draw_scroll.html
>
> Cheers,
>
> David
>

:( This technique don't resolve my problem because I can't destroy the
original widget_draw.
Well, in my application, this means the user has the responsability to
create the apropiate widget_draw with or without scrollbars from the
beginning.

Thanks.

--
-----------------------------------------------------
Antonio Santiago P�rez
( email: santiago<<at>>grahi.upc.edu )
( www: http://www.grahi.upc.edu/santiago )
( www: http://asantiago.blogsite.org )
-----------------------------------------------------
GRAHI - Grup de Recerca Aplicada en Hidrometeorologia
Universitat Polit�cnica de Catalunya
-----------------------------------------------------
Re: Widget_Draw scrollebe but not scrollable ?? [message #44011 is a reply to message #44010] Thu, 12 May 2005 05:06 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Antonio Santiago writes:

> is there a way to create a widget_draw that initialy hasn't set the
> SCROLL and X_SCROLL_SIZE/Y_SCROLL_SIZE keywords and later I can modify
> it to has it?
>
> If I create a widget_draw without scrolling, then later when i changhe
> its DRAW_XSIZE all the widget growns.
> If I create a widget with scrolling then later when change the size with
> DRAW_XSIZE the result is ok but two spaces (left and bottom) are
> reserved for the future scrollbars and this is a bit ugly.
>
>
> Summarizing, I need (if possible) a way to create a scrollable
> widget_draw that initiale dont show this two reserved zones for scrollbars.

This is not really possible. But sometimes there are tricks:

http://www.dfanning.com/widget_tips/draw_scroll.html

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: Widget_Draw scrollebe but not scrollable ?? [message #44051 is a reply to message #44010] Mon, 16 May 2005 20:02 Go to previous message
pulsifer@bigfoot.com is currently offline  pulsifer@bigfoot.com
Messages: 5
Registered: December 2004
Junior Member
I ran into a similar problem a couple of months ago.

You can get pretty close by making the initial window scrollable, but
by making the draw size a little smaller (approximately 4 pels on Mac
OS X) so that the scroll bars don't show up. Later when you make the
draw area bigger, the scroll bars appear. I had to play with it a
while to get it to work and it never worked perfectly, but got pretty
close.

Antonio Santiago wrote:
>>
>> This is not really possible. But sometimes there are tricks:
>>
>> http://www.dfanning.com/widget_tips/draw_scroll.html
>>
>> Cheers,
>>
>> David
>>
>
> :( This technique don't resolve my problem because I can't destroy
the
> original widget_draw.
> Well, in my application, this means the user has the responsability
to
> create the apropiate widget_draw with or without scrollbars from the
> beginning.
>
> Thanks.
>
> --
> -----------------------------------------------------
> Antonio Santiago Pérez
> ( email: santiago<<at>>grahi.upc.edu )
> ( www: http://www.grahi.upc.edu/santiago )
> ( www: http://asantiago.blogsite.org )
> -----------------------------------------------------
> GRAHI - Grup de Recerca Aplicada en Hidrometeorologia
> Universitat Politècnica de Catalunya
> -----------------------------------------------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: alias in idl
Next Topic: LabView script node and NetCDF

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

Current Time: Wed Oct 08 18:13:32 PDT 2025

Total time taken to generate the page: 0.00619 seconds