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

Home » Public Forums » archive » Re: Problems with bitmapped button widget
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: Problems with bitmapped button widget [message #59774] Fri, 11 April 2008 05:18
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
rhyme2ri2 writes:

> A very simple thing i'm trying to do but somehow i'm stuck with it....
> I want a bitmapped button. For this i'm using following :
>
> cmddownloadall = Widget_Button(pradar, UNAME='cmddownloadall' $
> ,XOFFSET=800 ,YOFFSET=100 ,SCR_XSIZE=30 ,SCR_YSIZE=24 $
> ,/ALIGN_CENTER,TOOLTIP='Download All files' $
> ,VALUE='downloadall.bmp' ,sensitive=0,frame=1,/BITMAP)
>
> Well this is it and i'm not able to get the image button. Issues like
> checking the availability of file or trying to provide the full path
> name of image file are already addressed by me :)
> Image is a 24-bit bitmap.
>
> What it shows is just a blank button with the frame or sometimes just
> the text written in value..(strange but true)
>
> Can any one point out where m i wrong??

If the button shows up sometimes and not others, then I
think the only sensible conclusion that can be made is
that sometimes the BMP file cannot be found.

I'd be tempted to investigate the solutions that assured
file path was adequate for potential problems.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: supervised classification by envi+dil
Next Topic: Re: Inconsistency displaying IDLgrROI

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

Current Time: Wed Oct 08 19:29:43 PDT 2025

Total time taken to generate the page: 0.00521 seconds