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

Home » Public Forums » archive » Setting the zoom_base property in IDLgrWindow
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: Setting the zoom_base property in IDLgrWindow [message #91437 is a reply to message #91431] Tue, 14 July 2015 15:29 Go to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
On Tuesday, 14 July 2015 09:33:51 UTC-7, Nuno Ferreira wrote:
> Dear all,
>
> I feel so stupid, this is a very basic question... but shouldn't the line below work?
>
>
> oWin = obj_new('IDLgrWindow', zoom_base=1.25D)
>
>
> I get the following error:
>
> % OBJ_NEW: Illegal keyword value for ZOOM_BASE.
> % Execution halted at: $MAIN$
>
>
> I get the same error when using SetProperty with an IDLgrWindow object. The manual mentions that this property is available for the init and set methods and that the parameter should be a double precision number...
>
> Nuno

This looks like a bug to me, too:

IDL> oWin = obj_new('IDLgrWindow', zoom_base=0.5D)
% OBJ_NEW: Illegal keyword value for ZOOM_BASE.
% Execution halted at: $MAIN$

IDL> oWin = obj_new('IDLgrWindow')
IDL> oWin->GetProperty,zoom_base=zb
IDL> zb
2.0000000000000000

IDL> oWin->SetProperty,zoom_base=1.5d
% IDLGRWINDOW::SETPROPERTY: Illegal keyword value for ZOOM_BASE.
% Execution halted at: $MAIN$
IDL> oWin->SetProperty,zoom_base=2.0d
% IDLGRWINDOW::SETPROPERTY: Illegal keyword value for ZOOM_BASE.
% Execution halted at: $MAIN$

Would someone from Exelis/Harris like to chime in?

Cheers,
-Dick

Dick Jackson Software Consulting Inc.
Victoria, BC, Canada --- http://www.d-jackson.com
[Message index]
 
Read Message
Read Message
Previous Topic: Issue with displaying 3D using surface()
Next Topic: to convert 3d array to 2d array

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

Current Time: Wed Oct 08 13:36:53 PDT 2025

Total time taken to generate the page: 0.00464 seconds