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

Home » Public Forums » archive » Re: no bitmap on widget base in Solaris
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: no bitmap on widget base in Solaris [message #72917 is a reply to message #72912] Tue, 19 October 2010 03:09 Go to previous message
jeanh is currently offline  jeanh
Messages: 79
Registered: November 2009
Member
On 18/10/2010 4:01 PM, JamesMeteo wrote:
> Hello all,
>
> The following IDL 8 program puts the 'hand' bitmap on the base widget
> with Windows XP but not with Solaris running X, where I get the 'X'
> icon instead:
>
> case StrLowCase(!Version.os_family) of
> 'unix': bpath='/usr/local/itt/idl80/resource/bitmaps'
> 'windows': bpath='C:\Program Files\ITT\IDL\IDL80\resource\bitmaps'
> endcase
>
> b=widget_base(bitmap=bpath+'\hand.bmp', xsize=300)
> widget_control,b,/realize
>
> end
>
> Is there a workaround for Solaris for getting the bitmap to appear?
>
> James Drake
> The Aerospace Corporation

put the slash/backslash in the path, not in the filename...
case StrLowCase(!Version.os_family) of
'unix': bpath='/usr/local/itt/idl80/resource/bitmaps/'
'windows': bpath='C:\Program Files\ITT\IDL\IDL80\resource\bitmaps\'
endcase

b=widget_base(bitmap=bpath+'hand.bmp', xsize=300)

Jean
[Message index]
 
Read Message
Read Message
Previous Topic: Re: columns not shown in table widget on Solaris
Next Topic: write plots alternately to two postscripts files

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

Current Time: Wed Oct 08 15:28:37 PDT 2025

Total time taken to generate the page: 0.00438 seconds