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

Home » Public Forums » archive » Re: Problem with Vcolorbar under IDL 8.0 ?
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: Problem with Vcolorbar under IDL 8.0 ? [message #75341 is a reply to message #75340] Thu, 24 February 2011 19:54 Go to previous messageGo to previous message
George Millward is currently offline  George Millward
Messages: 29
Registered: February 2000
Junior Member
On Feb 24, 3:18 pm, David Fanning <n...@idlcoyote.com> wrote:
> George Millward writes:
>> I'm using David Fanning's VColorbar__define.pro under IDL 8.0
>> and it ain't working....
>> It works fine under 7.1 ..........I'm wondering if there is a problem
>> or if the problem is me ;o)
>
>> thisColorBar = Obj_New('VColorBar')
>> thisModel->Add,thisColorBar
>
>> gives me:
>
>> 'Attempt to call undefined method Vcolorbar::position'
>
>> I do have a large viewport defined.... but no idea whether this would
>> cause a problem.....
>
>> thisView = OBJ_NEW('IDLgrView', Color=[80,80,80],
>> Viewplane_Rect=[0.,0.,1440.,900.],zclip=[20.,-10.])
>
>> ...and like I say, works fine with 7.1
>
> I guess I need more information. I just ran the Coyote
> Library routine Select_Objects, which uses a VColorbar
> object, in IDL 8 on my Windows machine and it ran fine.
>
> Are you sure you are finding the right program?
>
>    IDL> Print, File_Which('vcolorbar__define.pro')
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

David,

Thanks for your help.... Yeh, 'finding the right program' is
definitely an issue - and file_which is very useful.
...but no progress.
I have the same problem occurring with select_objects.pro... and
everything seems to be referenced ok.
Are there any other programs to consider than the below ?

Cheers

George.

IDL> select_objects
% Compiled module: SELECT_OBJECTS.
% Compiled module: FSC_NORMALIZE.
% Compiled module: VCOLORBAR__DEFINE.
% VCOLORBAR::INIT: Attempt to call undefined method:
'VCOLORBAR::POSITION'.
% IDLGRMODEL::ADD: Invalid object reference: <NullObject>.
% Execution halted at: SELECT_OBJECTS 287 C:\Documents and Settings
\george\IDLWorkspace80\coyote\select_objects.pro
% $MAIN$
IDL> Print, File_Which('select_objects.pro')
% Compiled module: FILE_WHICH.
C:\Documents and Settings\george\IDLWorkspace80\coyote
\select_objects.pro
IDL> Print, File_Which('vcolorbar__define.pro')
C:\Documents and Settings\george\IDLWorkspace80\coyote
\vcolorbar__define.pro
IDL> Print, File_Which('fsc_normalize.pro')
C:\Documents and Settings\george\IDLWorkspace80\coyote
\fsc_normalize.pro
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: color and tvellipse
Next Topic: zenpos vs. SkyCalendar

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

Current Time: Fri Oct 10 22:09:28 PDT 2025

Total time taken to generate the page: 1.82985 seconds