Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Is there a command for flush keyboard

Author
Message
Trisect Development
22
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Denmark
Posted: 6th Apr 2012 16:28
Is there a command that flushes the keyboard?

Keep track of your milage and deductions
Get Driver Logbook
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 11th Apr 2012 02:39
There is no command that does this. In what context do you require the keyboard to be flushed?

I drink tea, and in my spare time I write software.
Trisect Development
22
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Denmark
Posted: 11th Apr 2012 09:40
If I click a button and my next (page/screen) ask for keypress it automatically gets clicked.

I want to flush keypresses before open a new (page/screen)

Keep track of your milage and deductions
Get Driver Logbook
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 11th Apr 2012 16:24
You could use the release function instead of the press function on the first screen, that way by the time the new screen loads the event has finished.
Trisect Development
22
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Denmark
Posted: 11th Apr 2012 19:51
@Paul

Thanks I'll try that.

Keep track of your milage and deductions
Get Driver Logbook
Marl
13
Years of Service
User Offline
Joined: 19th Nov 2011
Location: Bradford, UK
Posted: 11th Apr 2012 20:20
This is good advice.

Ideally you should use the press to highlight the button and only respond to the release.

That way the user has time to change their mind and slide their finger off the button before it registers.

Login to post a reply

Server time is: 2024-11-23 08:57:32
Your offset time is: 2024-11-23 08:57:32