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

Home » Public Forums » archive » Re: read input from 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: Re: read input from a widget [message #25810 is a reply to message #25730] Sun, 15 July 2001 16:12 Go to previous message
m.hadfield is currently offline  m.hadfield
Messages: 36
Registered: April 2001
Member
From: "Dominik Paul" <dpaul@ukl.uni-freiburg.de>
> we would like read a string from the user. But this is not possible in the
> runtime version (its possible under unix, ok, but unfortunately not under
> windows.
>
> So we are searching for a widget component to enter some text.

I have written a simple text-entry widget application based on my
MGH_GUI_Base class. You can get it, along with the rest of my public IDL
library at

http://katipo.niwa.cri.nz/~hadfield/gust/software/idl/

The text-entry class itself is called MGH_GUI_SetText. Here is code that you
would use to create an MGH_GUI_SetText object in blocking mode and get data
from it when it exits:

odlg = obj_new('MGH_GUI_SetText', /BLOCK)

odlg->Manage

odlg->GetProperty, STATUS=status, VALUE=value

case status of
0: print, 'Cancelled'
1: begin
print, 'Widget returned', value
end
endcase

---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield
National Institute for Water and Atmospheric Research



--
Posted from clam.niwa.cri.nz [202.36.29.1]
via Mailgate.ORG Server - http://www.Mailgate.ORG
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Magnetic Local Time
Next Topic: SHADES as an output keyword?

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

Current Time: Fri Oct 10 15:07:39 PDT 2025

Total time taken to generate the page: 1.27780 seconds