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

Home » Public Forums » archive » Re: How import data from prompt to a widget?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How import data from prompt to a widget? [message #69127 is a reply to message #69126] Mon, 14 December 2009 03:51 Go to previous message
Spon is currently offline  Spon
Messages: 178
Registered: September 2007
Senior Member
On Dec 14, 10:07 am, ali mozafari <a.mozafari1...@googlemail.com>
wrote:
> Folks
> I need to import some data from prompt to a widget. Does anyone have
> any idea how to do this? Something like this:
> IDL> please enter the constant C1
> IDL> please enter the constant C2
> Any help highly appreciated
> A.

Well, you can either do it from the IDL command line with READ
(without widgets), or with a textbox widget

READ, C1, PROMPT = 'please enter the constant C1:'

Note that this just assigns the value given at the prompt to the
variable 'C1' in your function/procedure. No widgets involved.

or, see:
http://www.dfanning.com/programs/textbox.pro

Regards,
Chris
[Message index]
 
Read Message
Read Message
Previous Topic: How import data from prompt to a widget?
Next Topic: Store large array

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

Current Time: Fri Oct 10 12:29:58 PDT 2025

Total time taken to generate the page: 0.16374 seconds