idl vm- widget_base - bitmap keyword [message #72478] |
Wed, 08 September 2010 07:06 |
Rajiv.Paneerselvam
Messages: 14 Registered: November 2005
|
Junior Member |
|
|
Hi all,
I am trying to run an application (.sav file) using idl vm (version
6.3/4).
I get the following error message.
"The following error was encountered: keyword BITMAP not allowed in
call to: WIDGET_BASE" please consult...
I want to read a bitmap (a logo) and display it on the GUI using
the widget_base function.
Here is the part of the code..
file = 'logo.bmp'
osl_bmp = (file_search(ProgramRootDir(/oneup), file))[0]
p3dBase = WIDGET_BASE( GROUP_LEADER=wGroup,$
bitmap= osl_bmp, xsize=xs, ........)
any idea about the error? (Of course the codes work in the debug
mode.)
Any kind of help would be appreciated.
Thanks!
Rajiv
|
|
|