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

Home » Public Forums » archive » Re: issues with scrollwindow
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: issues with scrollwindow [message #67974] Wed, 16 September 2009 01:52 Go to previous message
anand is currently offline  anand
Messages: 11
Registered: December 2008
Junior Member
Dear Giorgio,
with no better option at hand, i am at present doing something similar
to waht you have suggested. But it would preferable if SCROLLWINDOW
itself could be tweaked a bit to do just that.

Anand.
On Sep 16, 2:53 am, Giorgio <giorgiol...@gmail.com> wrote:
> This could work:
>  Within your program, you can check if w1 is defined and then if it is
> not call scrollwindow, if it is defined just wset, w1.
>
> IF N_Elements(w1) EQ 0 THEN scrollwindow, x, y, wid = w1 ELSE wset, w1
>
> Giorgio
>
> On Sep 14, 2:16 am, anand <jana...@gmail.com> wrote:
>
>> Hi,
>> i am using the program, SCROLLWINDOW, for some time now to create
>> windows that are larger than my screen size. Typically, i use it as:
>
>> scrollwindow, 1024, 1024, wid=w1
>
>> where, w1 can act as an input as well as output parameter. If w1 is
>> not defined, index of the window created is returned in it. If w1 is
>> defined, then a window with that index is created, if possible.
>> Apparently, when w1 id defined, the window is created only if no
>> window exists with that particular index. Therein lies my problem. If
>> i have a program which contains the above command (with w1 defined
>> before calling scrollwindow), i would be having 10 different windows
>> (with different indices) open on running the program 10 times. Is it
>> possible to avoid this?
>> e.g. if you call the system procedure, WINDOW, with a particular
>> index, say 15 times, you don't end up getting 15 different windows.
>> I took a peep inside scrollwindow, and found that the wid is returned
>> in the Get_Value keyword of routine WIDGET_CONTROL, and thus couldn't
>> go much beyond that point.
>
>> I am running IDL 6.3 on Win XP, and while calling scrollwindow, i am
>> not passing the free or pixmap keywords.
>
>> Anand.
[Message index]
 
Read Message
Read Message
Previous Topic: Strange return from where function
Next Topic: Re: Strange return from where function

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

Current Time: Wed Oct 08 17:01:11 PDT 2025

Total time taken to generate the page: 0.00376 seconds