Re: input box ? [message #60978] |
Wed, 02 July 2008 00:58  |
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 #61077 is a reply to message #60978] |
Thu, 03 July 2008 13:11  |
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
|
|
|