Problems with bitmapped button widget [message #59775] |
Fri, 11 April 2008 04:56  |
rhyme2ri2
Messages: 11 Registered: February 2008
|
Junior Member |
|
|
Hello all,
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??
Thanks & Regards
-Ritu
|
|
|