de en es fr
Let the machine help
Light teasing, exhibition, BDSM, sissyfication, watersports... with sounds and pictures


Post new topic Reply to topic  [ 2 posts ] 
Author Message
 getSelectedValue
PostPosted: Fri Dec 20, 2013 11:57 pm 
Offline
Veteran
getSelectedValue(message, texts)

This method will put message as the current shown text, and show the user various options for him to choose one.
This method will wait until the user selects an option, and when he does, the index of the option he selected in the list texts will be returned.

showButton(label) and showButton(label, timeout)

This method will show a button with the text 'label' on it, and will wait until the user clicks on it. Note that you
can specify a second parameter 'timeout', that will be a number of seconds. In that last case, showButton will wait
until the user clicks the button or 'timeout' seconds have elapsed. It will return the number of seconds that the
user take to click the button, or 'timeout' if this second parameter exists and the user's not clicked the button
before the timeout has elapsed.

I'm not a programmer but is there a way or possibility to chance the getSelectedValue(message, texts) into something like:

getSelectedValue(message, texts, timeout)?

I do want the thirth parameter timeout or a closure example which does the same. Please help.


Top
 Profile Send private message 
 
 Re: getSelectedValue
PostPosted: Sun Dec 22, 2013 7:36 pm 
Offline
Site Admin
User avatar
I checked, but only showButton() works like that, all other user interactions are not time limited.


Top
 Profile Send private message 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Yandex [Bot] and 3 guests


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:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010 - 2020
This website uses session cookies only.