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

Home » Public Forums » archive » Re: input box ?
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
Re: input box ? [message #60978] Wed, 02 July 2008 00:58 Go to next message
titan is currently offline  titan
Messages: 59
Registered: March 2006
Member
On Jul 1, 7:48 pm, Vince Hradil <hrad...@yahoo.com> wrote:
> On Jul 1, 12:41 pm, humanumbre...@gmail.com wrote:
>
>> Any alternative to DIALOG_MESSAGE which would allow a textfield and an
>> input instead of just yes/no/cancel whatnot?
>
>> Like: "How many apples do you want? " textfield
>> and when they push "ok" - I get that value
>
>> Thanks in advance,
>> --Justin
>
> http://dfanning.com/widget_tips/popup.html


Is there the possibility to insert a sort of countdown in the sense
that if no button is pushed then a user-defined value will be used??
thanks

B
Re: input box ? [message #60990 is a reply to message #60978] Tue, 01 July 2008 10:48 Go to previous messageGo to next message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Jul 1, 12:41 pm, humanumbre...@gmail.com wrote:
> Any alternative to DIALOG_MESSAGE which would allow a textfield and an
> input instead of just yes/no/cancel whatnot?
>
> Like: "How many apples do you want? " textfield
> and when they push "ok" - I get that value
>
> Thanks in advance,
> --Justin

http://dfanning.com/widget_tips/popup.html
Re: input box ? [message #61077 is a reply to message #60978] Thu, 03 July 2008 13:11 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
titan wrote:
> On Jul 1, 7:48 pm, Vince Hradil <hrad...@yahoo.com> wrote:
>> On Jul 1, 12:41 pm, humanumbre...@gmail.com wrote:
>>
>>> Any alternative to DIALOG_MESSAGE which would allow a textfield and an
>>> input instead of just yes/no/cancel whatnot?
>>> Like: "How many apples do you want? " textfield
>>> and when they push "ok" - I get that value
>>> Thanks in advance,
>>> --Justin
>> http://dfanning.com/widget_tips/popup.html
>
>
> Is there the possibility to insert a sort of countdown in the sense
> that if no button is pushed then a user-defined value will be used??
> thanks
>
> B

set a timer when you create the widget.
(like: widget_control,wbaseID, set_uvalue=uval,/realize, TIMER=30 )
Then, in the event handler, read the value entered by the user or, if
there is none, return your default value.

Jean
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: RECOMPUTE DIMENSIONS IN CONTOUR LEVELS?
Next Topic: Re: create image in background

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

Current Time: Wed Oct 08 18:38:33 PDT 2025

Total time taken to generate the page: 0.00632 seconds