It is currently Fri May 26, 2017 7:28 pm



Welcome
Welcome to rfobasic

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today. **You are not required to provide truthful information to any registration questions. Be whomever you wish to be.!


Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Is it possible ......
Unread postPosted: Wed Jun 08, 2016 1:01 pm 
Offline
User avatar

Joined: Sun May 19, 2013 10:53 am
Posts: 513
Is it possible to add a time out to the input command?

In other words: if there is no data input within the time allocated, the input dialog box close and program will continue without the input!

Alberto

_________________
Even those who assert that everything is predestined and that
we can change nothing about it, still look both ways before they cross the street!


Report this post
Top
 Profile  
 
 Post subject: Re: Is it possible ......
Unread postPosted: Wed Jun 08, 2016 1:54 pm 
Offline
User avatar

Joined: Tue Sep 13, 2011 4:58 am
Posts: 721
Location: Sao Paulo, Brasil
Well, you can have your variable already filled out. Time the answer, and if nothing happens, continue with the filled out variable.

_________________
Alfredo Peine

-------------

Hisense Sero 7 Pro (Tegra 3 7" rooted tablet - Android 4.4.4) / Moto G 3rd Gen (5" quad core rooted phone - Android 6.0).


Report this post
Top
 Profile  
 
 Post subject: Re: Is it possible ......
Unread postPosted: Thu Jun 09, 2016 12:20 am 
Offline
User avatar

Joined: Sun Nov 23, 2014 8:15 am
Posts: 2185
Location: romania
i asked some time ago for timed dialog boxes. for the moment u must implement your oown


Report this post
Top
 Profile  
 
 Post subject: Re: Is it possible ......
Unread postPosted: Thu Jun 09, 2016 12:58 am 
Offline
User avatar

Joined: Tue Jan 03, 2012 9:31 am
Posts: 5518
Location: Paris, France
GW lib has one with an example in GW_demo.bas > Advanced controls > Dialog message

Nicolas

_________________
- Creator of the Android BASIC! Compiler


Report this post
Top
 Profile  
 
 Post subject: Re: Is it possible ......
Unread postPosted: Fri Jun 10, 2016 10:24 pm 
Offline

Joined: Wed Oct 03, 2012 9:53 am
Posts: 2797
Location: Colorado, U.S.
apeine wrote:
Well, you can have your variable already filled out. Time the answer, and if nothing happens, continue with the filled out variable.
How would you do that, Alfredo? The input command blocks until the user does something. The program can't kill a dialog. Am I missing something?

gikam wrote:
i asked some time ago for timed dialog boxes.
I'm sorry, gika, I don't remember that. When did you ask? What was the response?

A timed dialog should not be difficult. A general solution that allows you to set a timer on any arbitrary BASIC! command is much more interesting, but also more difficult.

- Marc


Report this post
Top
 Profile  
 
 Post subject: Re: Is it possible ......
Unread postPosted: Sat Jun 11, 2016 5:47 am 
Offline
User avatar

Joined: Sun Nov 23, 2014 8:15 am
Posts: 2185
Location: romania
jMarc wrote:
apeine wrote:
Well, you can have your variable already filled out. Time the answer, and if nothing happens, continue with the filled out variable.
How would you do that, Alfredo? The input command blocks until the user does something. The program can't kill a dialog. Am I missing something?

gikam wrote:
i asked some time ago for timed dialog boxes.
I'm sorry, gika, I don't remember that. When did you ask? What was the response?

A timed dialog should not be difficult. A general solution that allows you to set a timer on any arbitrary BASIC! command is much more interesting, but also more difficult.

- Marc

viewtopic.php?f=4&t=2922


Report this post
Top
 Profile  
 
 Post subject: Re: Is it possible ......
Unread postPosted: Sat Jun 11, 2016 9:13 pm 
Offline

Joined: Wed Oct 03, 2012 9:53 am
Posts: 2797
Location: Colorado, U.S.
Thanks, gika. That was a good discussion, but I had completely forgotten it.


Report this post
Top
 Profile  
 
 Post subject: Re: Is it possible ......
Unread postPosted: Wed Dec 14, 2016 9:07 am 
Offline

Joined: Mon Nov 14, 2016 6:49 am
Posts: 39
I Am wondering if it would be possible to add new Basic commands to control phone call mode. Command for answer incoming call and command for hangup. What do you think?


Report this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred