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

Home » Public Forums » archive » WIDGET_MESSAGE keywords?
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
WIDGET_MESSAGE keywords? [message #4861] Fri, 18 August 1995 00:00 Go to next message
mbrown is currently offline  mbrown
Messages: 15
Registered: August 1995
Junior Member
I am having trouble using keywords with the WIDGET_MESSAGE function. The
manuals do not discuss this function much at all. My code looks like this...
result=WIDGET_CONTROL('File not found'),ERROR
I get a syntax error for putting the ERROR keyword on it. It works fine
without it (as a warning box.) Any help would be appreciated.

Myron.
Re: WIDGET_MESSAGE keywords? [message #4951 is a reply to message #4861] Mon, 21 August 1995 00:00 Go to previous message
rmmoss is currently offline  rmmoss
Messages: 12
Registered: August 1995
Junior Member
In article <19950818.094417.582423.NETNEWS@WVNVM.WVNET.EDU>, mbrown@olie.wvitcoe.wvnet.edu (Myron Brown) writes:
|> I am having trouble using keywords with the WIDGET_MESSAGE function. The
|> manuals do not discuss this function much at all. My code looks like this...
|> result=WIDGET_CONTROL('File not found'),ERROR
|> I get a syntax error for putting the ERROR keyword on it. It works fine
|> without it (as a warning box.) Any help would be appreciated.
|>
|> Myron.

That should be

result = WIDGET_MESSAGE( 'File not found', /ERROR )


The widget_message routine is a function, so all the keywords and parameters
have to go inside the parenthesis.


Robert M. Moss, Ph.D.
Texaco Inc.
mossrm@texaco.com

These are not necessarily the views of Texaco Inc.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL multiple users? Please read
Next Topic: In-text commands for changing PostScript Fonts

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

Current Time: Wed Oct 08 11:51:30 PDT 2025

Total time taken to generate the page: 0.00493 seconds