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

Home » Public Forums » archive » Problem with TextBox from dfanning.com
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
Problem with TextBox from dfanning.com [message #40463] Wed, 11 August 2004 04:40
lloyd is currently offline  lloyd
Messages: 16
Registered: February 2003
Junior Member
Hi all,

I'm using David Fanning's widget from his website. I have come across
a problem however. Here is my calling sequence:

IFCANCELLED: ; Label if box is cancelled
inputvalue = TextBox(Title="Please enter value:", Label=inputname,
Cancel=cancelled, value=string(inputvalue2))
IF (cancelled OR (inputvalue EQ "")) THEN begin
warning = DIALOG_MESSAGE("A value must be
entered",TITLE="Warning!")
stop
GOTO, IFCANCELLED
endif

The problem is that if I enter a null string or click the cancel
button I get the following error message back out:

"WIDGET_LABEL: String expression required in this contact: LABEL."

I don't understand this at all! Any help on this much appreciated.

Lloyd

PS I am an IDL newbie, have been given the task of converting an old
f60 code into IDL, am trying to get a nice user interface and
everything (any good guides?). Hopefully in a couple of years I'll be
able to answer questions rather than post lots :)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Combining subimage data to corresponding X and Y location
Next Topic: Can I have multiple threads in IDL?

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

Current Time: Fri Oct 10 19:26:38 PDT 2025

Total time taken to generate the page: 1.44360 seconds